Question: Numerals Programming Assignment Your programming assignment is a step in the process toward the Roman Numeral generator. You must ask the user for a 4

Numerals Programming Assignment

Your programming assignment is a step in the process toward the Roman Numeral generator. You must ask the user for a 4 digit number. Then you need to split the number into its ones, tens, hundreds and thousands place values and display each value. (Hint: Simple modular arithmetic and division can get you your required result.) You must use mathematical expressions to split the four digit number into its place values. An example output would look like this:

Please enter a 4 digit number: 1982

The ones place value is: 2

The tens place value is: 8

The hundreds place value is: 9

The thousands place value is: 1

Requirements

The file you create will need to be named: numerals-.cpp

You must ask the user for a 4 digit number.

Your output must look like the output above. The ones and tens output have a column width set to 8, the hundreds place column width is 4 and the thousands place width is 3.

You must use mathematical expressions to split your user input number into its place values.

Your header block must be formatted like this:

// Author: Your Name

// Due Date: 9/20/2017

// Description: Numerals Assignment

Grading Criteria

You will be graded on the following criteria:

Are all the requirements met

Does your code compile

Does your code run

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!