+ 1
Im doing the project at the end of the arrays and loops section, i want to know what is wrong with my code, please help.
double TicketTotal = 10 * ages[5] * (( fmin(100,200) )/100); cout << TicketTotal; i know my equation is wrong, im planning on fixing that part, but i dont know why this doesn't run, and i would like to.
1 Odpowiedź
+ 1
ages[5] does not exist,
ages[4] is the last element of the array