Question: using C++ Write a program that prompts the user to enter a 5-digit integer, the program then constructs a number N which can be obtained
using C++

Write a program that prompts the user to enter a 5-digit integer, the program then constructs a number N which can be obtained by the following formula. Assuming D1 is the rightmost and D5 is the leftmost digits. N = (01)2+(05)3.03 Sample input/output: Enter a 5-digit Integer: 12345 For 12345, the value of N is 28 For the toolbar, press ALT+F10 (PC) or ALT+FN+F10 (Mac)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
