using System;class Program{ public static void Main(string[] args) { int number = 1; while (number <=>=> { Console.WriteLine(number); number = number + 1; } }}
This program is written for C# to count from 1-1000. How would this program be rewritten to get numbers from the user until the user enters 0?
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here