lets say i had this
int times cout<<"enter times you want to repeat"; cin>>times; ----> cout<<"Hello what age are you?"; cin>>age; <-------
how would i get it to repeat this section of codes the same amount as the user inputs?
but make it that if he input repeat by 5 times, that each time you input an age, for the 5 times, that that age is make into a variable.
so if you click repeat 3 times and typed in 4,6 and 8
that they would be each seprate varibles and be able to be used in further code
also we can not use arrays.
for loops we can only use
for,while,do while loops
among other basic things, but not arrays yet
we can also use if, else, else if