(a) Write a C++ program that asks the user to enter up to a 5-digit positive integer number and then...
(a) Write a C++ program that asks the user to enter up to a 5-digit positive integer number and then reverses the order of the digits. The program outputs both numbers and their square roots. An example of the execution of the problem is shown below. Your program should work for 5-digits, 4-digits, 3-digits, 2-digits and 1-digit.
Please enter a 5-digits integer: (user inputs 12345) The square root of 12345 is: 111.108
The number in reverse is: 54321
The square root of 54321 is: 233.068
(b) ( extra credit – 5 pts) Find a 5-digit number that reverses the order of its digits when multiplied by 4.
(c) (extra credit – 5 pts)) How many 5-digits numbers are there in which the sum of the digits is even.
12 years ago
20
Purchase the answer to view it

- c.docx
Purchase the answer to view it

- dial.docx
- new2.cpp
Purchase the answer to view it

- ****PROTEACH**** INDV PRJT 4
- Mike Bayville - Hawkes 6.2, 6.3, 6.4, 7.3, & 8.4
- 1. The Shopping Bag is a thrift store that sells used clothing. Assume that variable costs associated with selling each item...
- Authority
- PHI 445 Personal & Organizational Ethics
- if protons and electrons have differnt masses and are the same distance apart the electric force between the two electrons...
- please help
- Criminal Justice question
- please help
- Payback period/accting rate of return/net present value problem
