- 1
Why is my programm with int c; c = Convert.ToInt(Console.Read()); Console.Write(c); giving me answer 10 all the time?
3 Answers
0
try Console.ReadLine instead of Console.Read
0
I didnt wanted to continue to next line. Won't it jump down?
0
try c= Convert.ToInt16(Console.ReadLine());