Question: Write an entire C + + program that reads an integer of your MATRIC NUMBER entered by an interactive user. Prints out all the NUMBER

Write an entire C++ program that reads an integer of your MATRIC NUMBER entered by an interactive user.
Prints out all the NUMBER entered in the output terminal
From the number you entered, add all the numbers and divide with one of the numbers where that number is from your MATRIC NUMBER.
Note: At this stage, you can either enter the number manually or automatically from the entered number
The program should allow the user to repeat this process as many times as the user likes.
In this case, when the user accidentally enters a zero or negative integer to have its divisors calculated, the program should inform the user that the input is unacceptable and should allow the user to try again (and again!).
Here is an illustration of how the program and the interactive user might interact.
The user's responses to the program are shown in bold italics.
Please enter your matric number: 123456
Would you like to see the divisors of another integer (YN)?y
Please enter a positive integer: -44
-44 is not a positive integer.
Please enter a positive integer: 0
0 is not a positive integer.
Please enter a positive integer: 109
The result of addition and division is: 33
Would you like to see the divisors of another integer (Y/N)?m
Please respond with Y(or y) for yes and N(or n) for no.
Would you like to see the divisors of another integer (YN)?n
 Write an entire C++ program that reads an integer of your

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!