0
What functions do I need to use for to terminate the functions in for loops with char?
Here I have my project how do I terminate the functions with char https://code.sololearn.com/cddZaPkJ7FTz/?ref=app
1 Odpowiedź
0
We already answered you dude.. You cannot take character input bcoz data type you are using is integer not character...
And I already told you that ask for any negative integer to terminate the loop(rather than pressing F key)..Check if num<0 on each iteration and if it is true terminate the loop using break statement..