Question: Q10: Write a complete C++ program that does the following. 1. It asks the user to enter a positive integer with 2 digits. 2. er

Q10: Write a complete C++ program that does the following. 1. It asks the user to enter a positive integer with 2 digits. 2. er is out of range, the message "Too dificu i program If the entered terminates. 3. Otherwise the program prints the sum of the two digits in the number that was entered Here is an example of how the program should work: Enter a 2-digit integer: 89 Sum of digits: 17
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
