subject
Engineering, 09.12.2019 17:31 andy6128

Write a program that converts a number entered in roman numerals to decimal. your program should consisit of a "class", say, romantype. an object of type romantype 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 as requested by user. the decimal values of the roman numerals are: m=1000, d=500, c=100, l=50, x=10, v=5, i=1.d. test your program using the following roman numerals: mcxiv, ccclix, mdclxvi

ansver
Answers: 1

Another question on Engineering

question
Engineering, 04.07.2019 16:10
An electrical motor raises a 50kg load at a construct velencity .calculate the power of the motor, if it takes 40sec to raise the load through a height of 24m(take g =9.8n/g)
Answers: 2
question
Engineering, 04.07.2019 18:10
Items are similar to the free issue items, but their access is limited. (clo5) a)-bin stock items free issue b)-bin stock controlled issue c)-critical or insurance spares d)-rebuildable spares e)-consumables
Answers: 1
question
Engineering, 04.07.2019 18:20
Acertain flow of air (at stp) has a velocity distribution given by v i (in ft/s). if this flow is going through a 4 ft square area in the yz-plane (centered at the origin), what is the mass flow rate (in lbm/s)?
Answers: 2
question
Engineering, 04.07.2019 19:10
A)-explain briefly the importance of standards in engineering design. b)- what is patent? c)-explain the relationship between these standards: b.s. and b.s.en d)- in engineering design concepts, types of loads and how they act are important factors. explain.
Answers: 3
You know the right answer?
Write a program that converts a number entered in roman numerals to decimal. your program should con...
Questions
question
Mathematics, 29.01.2020 12:51
question
Mathematics, 29.01.2020 12:51
Questions on the website: 13722363