Question: Need help with this program! C++ Thanksn Write a program to find the largest digit in a four digit number 1000. 99991. 1 the number
Write a program to find the largest digit in a four digit number 1000. 99991. 1 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
