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

Multiple Times Input?

How to input multiple times in sololearn? Like: [...] string text1 = Console.ReadLine(); string text2 = Console.ReadLine(); Console.WriteLine("Input1: "+text1); Console.WriteLine("Input2: "+text2); [...] But it only prompts for input once...And Input2 is empty. Or : Simple Calculator: [...] for(;;) { Input number = Console.Read(); //Calculation //Result //Repeat } [...] Any solution ?

5th Nov 2019, 5:06 AM
Jonayed Mohiuddin
Jonayed Mohiuddin - avatar
0 Answers