+ 1
Please correct it so it evaluates.
3 Answers
+ 4
list of errors:-
1) variables *a* and *N* are used before initialisation
3) displaying the result after the loop hence will display only the last multiple
2) syntax of *return* statement is wrong
Here's the fixđ
https://code.sololearn.com/cYTcd6vQ5Mgg/?ref=app
+ 1
let the number of multiplies be according to the choice of user.
like this
https://code.sololearn.com/cj85mOU2AY3X/#cpp
+ 1
One more question to explain. Whose I don't know before. Can you explain me why it must be variable reads two times before loop and in the loop?