Question: Integer inputNum is read from input. Assume inputNum is greater than 10000 and less than 99999. Assign tenThousandsDigit with inputNum's ten thousands place value. Ex:
Integer inputNum is read from input. Assume inputNum is greater than 10000 and less than 99999. Assign tenThousandsDigit with inputNum's ten thousands place value.
Ex: If the input is 39568, then the output is:
The value in the ten thousands place is: 3
#include
/* Your code goes here */
cout << "The value in the ten thousands place is: " << tenThousandsDigit << endl; }
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
