Hi | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Hi

How would you determine the output by the users input

23rd Jan 2024, 5:51 PM
Theo
Theo - avatar
2 Answers
+ 4
Theo , Also add a tag for the language you are working in, since the syntax depends on that.
23rd Jan 2024, 6:11 PM
Rain
Rain - avatar
+ 4
1. Store the input in a variable. 2. Write the program logic, according to the task. 3. Print the result. Basically all programs are like that. Your question is too general for giving a meaningful response... please can you explain more, what your problem is?
23rd Jan 2024, 6:00 PM
Tibor Santa
Tibor Santa - avatar