How JustAnswer Works:
  • Ask an Expert
    Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional Answer
    Via email, text message, or notification as you wait on our site.
    Ask follow up questions if you need to.
  • 100% Satisfaction Guarantee
    Rate the answer you receive.
Ask Raj Your Own Question
Raj
Raj, Computer Engg.
Category: Programming
Satisfied Customers: 1290
Experience:  MS CS, 5+ Experience in Programming and Database (ERP)
16752232
Type Your Programming Question Here...
Raj is online now
A new question is answered every 9 seconds

Write a C++ program that prompts the user to enter five numbers

This answer was rated:

Write a C++ program that prompts the user to enter five numbers which will display in one line; first forward and then backward.
Next have this program add the 5 numbers and display the result of the summation.
Then have this program multiply the 5 numbers and display the result of the multiplication.
Finally, have this program subtract the 5 numbers and display the result of the subtraction.
Your final program when completed shoud display like this:

For example, enter five numbers: 15 35 72 88 99

Your numbers forward: 15
:
99
Your numbers reversed: 99
:
15


The addition result is: 309 309
The multiplication result is: XXXXXXXXX
The subtraction result is: -279


You should thank the user and allow him to have ample time to see the output on the screen. You should pause the screen.
I will provide you the code in few min.
Customer: replied 7 years ago.
OK!
I am done with the code
Please download your code from the link below:

For code file(NUMBERS.CPP):
Click here


If you face any difficulty then feel free to ask for help
Raj and 5 other Programming Specialists are ready to help you

Related Programming Questions