subject

Write a program that accepts a year written as a 4-digit Arabic numeral and outputs the year written in Roman numerals. Some important Roman numerals are V for 5, X for 10, L for 50, C for 100, D for 500, and M for 1000. Some numbers are formed by using some kind of subtraction where a lesser-valued numeral is written left of a higher-valued one. The lesser-valued is then subtracted from the higher-valued one. For example: IV becomes 4, CM becomes 900, etc. Your program should include a loop that allows the user play again until he or she is done.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 24.06.2019 12:30
Why does the pc send out a broadcast arp prior
Answers: 1
question
Computers and Technology, 24.06.2019 14:30
Two students are discussing the flow of electricity. student a says that voltage is a measure of the amount of electron flow in a circuit. student b says that power is the product of voltage and current. which of the following statements is correct? a. only student a is correct b. only student b is correct c. both of the two students are correct d. neither of the two students is correct
Answers: 1
question
Computers and Technology, 25.06.2019 06:30
During which stage do you think is the best time for a company to purchase an emerging technology
Answers: 1
question
Computers and Technology, 25.06.2019 09:50
The mips architecture has a register set that consists of 32-bit registers. is it possible to design a computer architecture without a register set? if so, briefly describe the architecture, including the instruction set. what are advantages and disadvantages of this architecture over the mips architecture?
Answers: 3
You know the right answer?
Write a program that accepts a year written as a 4-digit Arabic numeral and outputs the year written...
Questions
question
Chemistry, 16.01.2021 09:50
question
Advanced Placement (AP), 16.01.2021 09:50
question
Geography, 16.01.2021 09:50
question
Mathematics, 16.01.2021 14:00
question
Mathematics, 16.01.2021 14:00
Questions on the website: 13722361