Write a C program that finds the largest among all the numbers upto the last input. The user has the flexibility to input the number one by one without any restriction. He/she can stop to input numbers at any time pressing a special key. Each time, a new number is read, the output displays the maximum upto that point.
Sample output
-------------
Enter a number: 5
output: MAX is 5
DO U WANT TO QUIT (Type 0 to quit, 1 to continue): 1
Enter a number:3
output: MAX is 5
DO U WANT TO QUIT (Type 0 to quit, 1 to continue): 1
Enter a number:10
output: MAX is 10
DO U WANT TO QUIT (Type 0 to quit, 1 to continue): 0