Question: Solve question 3,4,5 using a for loop Write a C++ program that asks the user to enter a number. Your Program should do the following
Write a C++ program that asks the user to enter a number. Your Program should do the following tasks - (1) Count the number of digits in that number - (2) Display the sum of the digits (3) Check whether the number is a multiple of sum - (4) Print the number in a reverse order - (5) Save the reverse of the number into another variable and display the reversed number
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
