0
Trying a bit of code that I obviously don't fully understand...Feedback plz? Im just trying to have a counting program that uses user input.
class MainClass { static void Main() { Console.WriteLine ("Count To: "); int x = Console.Read(); for(i = 0; i <= x; i++) { Console.WriteLine(i); } } }
2 Antworten
+ 2
int x = int.Parse(Console.Readline());
oh, you did it... um OK 😜
+ 1
A little bit of youtube on user input and I figured it out...thx anyway