Question: in C++ 04: [25 points) Write a program that prints the hundreds digit of integer constant. For example, if constant is 1456, your program should

in C++in C++ 04: [25 points) Write a program that prints the hundreds

04: [25 points) Write a program that prints the hundreds digit of integer constant. For example, if constant is 1456, your program should print 4. If constant is 254, your program should print 2. If constant is 54, the output should be 0. Your program should include the original number followed by the digit in the hundreds position. 1456 254 54 NO

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!