using System;class Program{ public static void Main(string[] args) { int number = 1; while (number <=>=> { Console.WriteLine(number); number = number + 1; } }}
This code is written in C# to count from 1-1000. How can it be re-written to get numbers from the user until the user enters zero, and then print out the largest of all those numbers?
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here