How we will do the user has ability to write a number and then our programming is running ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How we will do the user has ability to write a number and then our programming is running ?

We want user type and then my programming is running and gave solution according to typing of user so, how we add.

6th Aug 2023, 5:16 PM
Aashutosh Kumar
Aashutosh Kumar - avatar
1 Answer
+ 5
Sololearn doesn't accept real-time input. You can test such an idea though by putting each "new" input on a different line. You can begin your program by checking if the user has entered whatever number you want using an if statement.
6th Aug 2023, 5:30 PM
Ausgrindtube
Ausgrindtube - avatar