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 using namespace std; int main() { int inputNum; int tenThousandsDigit; cin >> inputNum;

/* 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

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!