How can I make the program returns to menu after finishing calculating. ((Im using codeblocks on Windows.)) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How can I make the program returns to menu after finishing calculating. ((Im using codeblocks on Windows.))

https://code.sololearn.com/ccSWGcQIe8ic/?ref=app

3rd Nov 2022, 9:59 AM
Jalal SA
1 Answer
+ 2
char menu = '0'; '0' is not int in your scanf(" %c", &menu); put the calculator in a while loop to repeatedly ask for inputs https://code.sololearn.com/c1aiV1GkD1kk/?ref=app
3rd Nov 2022, 11:20 AM
Bob_Li
Bob_Li - avatar