how to make the code keep continue?and how to make it repeat it self? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

how to make the code keep continue?and how to make it repeat it self?

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

25th Apr 2023, 8:24 AM
BLK
BLK - avatar
1 Answer
+ 4
If you want that your code accept unlimited inputs, enclose all code inside int main() function into an infinite while loop. WARNING: In sololearn interactive input doesn’t work, so compile your program in other platform. RECOMMENDATION: run your code in replit (repl.it)
25th Apr 2023, 8:26 AM
Ugulberto Sánchez
Ugulberto Sánchez - avatar