It asks the user to enter a positive integer with 2 digits


Prepare a complete C++ program that does the subsequent:

Part 1: It asks the user to enter a positive integer with 2 digits.

Part 2: If the entered number is out of range, the message "Too difficult!" is printed and the program terminates.

Part 3: Otherwise the program prints the sum of the two digits in the number that was entered.

Here is an case of how the program should work: Enter a 2­digit integer: 89

Sum of digits: 17

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: It asks the user to enter a positive integer with 2 digits
Reference No:- TGS0958448

Expected delivery within 24 Hours