Question: program C not C++ . Write a program to find the largest digit in a four digit number [1000..9999]. Read the number from the user,
program C not C++
. 
Write a program to find the largest digit in a four digit number [1000..9999]. Read the number from the user, find the largest digit and print it. For example,
if the number is 2583, largest digit is 8 if the number is 1234, largest digit is 4 if the number is 1111, largest digit is 1
You can assume that the user enters a 4 digit number. You do not need to use loops for this problem. Name your program recitation1.c
1.(100 pts) Write a program to find the largest digit in a four digit number 11000.9999). Read the number from the user, find the largest digit and print it. For example, . if the number is 2583, largest digit is 8 if the number is 1234, largest digit is 4 . if the number is 1111, largest digit is 1 You can assume that the user enters a 4 digit number. You do not need to use loops for this problem. Name your program recitation1.c
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
