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, 22.06.2019 09:00
Meenu wants to create a high quality drawing in a variety of colours. which device should she use for the same?
Answers: 1
question
Computers and Technology, 23.06.2019 15:30
1. ask the user how many questions are in the quiz. 2. ask the user to enter the key (that is, the correct answers). there should be one answer for each question in the quiz, and each answer should be an integer. e.g., 34 7 13 100 81 3 9 10 321 12 might be the key for a 10-question quiz. you will need to store the key in an array. 3. ask the user to enter the answers for the quiz to be graded. there needs to be one answer for each question. note that these answers do not need to be stored; each answer can simply be compared to the key as it is entered. 4. when the user has entered all of the answers to be graded, print the number correct and the percent correct. 5. add a loop so that the user can grade any number of quizzes with a single key. after the results have been printed for each quiz, ask "grade another quiz? (y/n)." note: you only have one array (the key). you are not creating a new key for each set of quiz answers.
Answers: 3
question
Computers and Technology, 24.06.2019 00:40
To maintain clarity and focus lighting might be needed
Answers: 2
question
Computers and Technology, 24.06.2019 12:30
Select all that apply. what two keys listed below should you use to enter data in an excel worksheet? tab backspace enter right arrow
Answers: 2
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
Mathematics, 29.11.2021 02:40
question
Mathematics, 29.11.2021 02:40
Questions on the website: 13722363