using System; class Program { public static void Main(string[] args) { int number = 1; while (number


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?



Jun 05, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here