ticket office | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

ticket office

why do people use int temp = ages[ 0 ]; while answeing the ticket office assignment

27th Jan 2023, 6:13 PM
mooncake
mooncake - avatar
1 Answer
+ 5
Ticket office or any context.. int temp = ages[ 0 ]; => means getting first value from array ages into temp variable. Now you can use temp as you need.
27th Jan 2023, 6:22 PM
Jayakrishna 🇮🇳