subject
Computers and Technology, 13.01.2020 20:31 egirl31

Write a program that converts a number entered in roman numerals to decimal. your program should consist of a class, say, roman. an object of type roman should do the following: a. store the number as a roman numeral. b. convert and store the number into decimal. c. print the number as a roman numeral or decimal number as requested by the user. the decimal number values of the roman numerals are: m 1000d 500c 100l 50x 10v 5i 1d. your class must contain the method romantodecimal to convert a roman numeral into its equivalent decimal numbere. test your program using the following roman numerals: cxiv, ccclix, and mdclxvi.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 19:40
Write the quartstogallons java class that declares a named constant to hold the number of quarts in a gallon (4). also declare a variable to represent the number of quarts needed for a painting job, and assign an appropriate value—for example, 18. compute and display the number of gallons and quarts needed for the job. display explanatory text with the values, for example:
Answers: 2
question
Computers and Technology, 23.06.2019 11:00
This chapter lists many ways in which becoming computer literate is beneficial. think about what your life will be like once you’re started in your career. what areas of computing will be most important for you to understand? how would an understanding of computer hardware and software you in working from home, working with groups in other countries and contributing your talents.
Answers: 1
question
Computers and Technology, 23.06.2019 14:00
Select the correct answer. a company is currently focusing on creating specific management goals for itself. which level of maturity is the company demonstrating under the sse_ccm framework? a. performed informally b. planned and tracked c. quantitatively controlled d. well-defined e. continuously improving
Answers: 2
question
Computers and Technology, 24.06.2019 12:10
What is it called during the editing process when the processor ensures that a character holding a coffee mug from one angle is holding the same mug in the same way when the shot switches to another camera at another angle? cinematography continuity technology prop use
Answers: 1
You know the right answer?
Write a program that converts a number entered in roman numerals to decimal. your program should con...
Questions
question
English, 10.12.2020 01:00
question
Mathematics, 10.12.2020 01:00
question
Mathematics, 10.12.2020 01:00
question
Mathematics, 10.12.2020 01:00
Questions on the website: 13722367