Engineering
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

answer
Answers: 1

Other questions on the subject: Engineering

image
Engineering, 04.07.2019 18:10, niyawilliams23
Asingle-geared blanking press has a stroke of 200 mm and a rated capacity of 320 kn. a cam driven ram is assumed to be capable of delivering the full press load at constant force during the last 15 percent of a constant-velocity stroke. the camshaft has an average speed of 90 rev/min and is geared to the flywheel shaft at a 6: 1 ratio. the total work done is to include an allowance of 16 percent for friction a) estimate the maximum energy fluctuation b) find the rim weight for an effective diameter of 1.2 m and a coefficient of speed fluctuation of 0.10
Answers: 1
image
Engineering, 04.07.2019 18:10, DestyHilBan1183
Adouble-strand no. 60 roller chain is used to transmit power between a 13-tooth driving sprocket rotating at 300 rev/min and a 52-tooth driven sprocket. a) what is the allowable horsepower of this drive? b) estimate the center-to-center distance if the chain length is 82 pitches. c) estimate the torque and bending force on the driving shaft by the chain if the actual horsepower transmitted is 30 percent less than the corrected (allowable) power.
Answers: 3
image
Engineering, 04.07.2019 18:10, samanthabutryn
Which one from below is not one of the reasons of planning failures? (clo3) a)-planner is careless. b-planner spend less time in the field but more time on the desk c)-planner is not qualified d)-planner does not have sufficient time to properly plan
Answers: 3
image
Engineering, 04.07.2019 18:20, cristykianpour
Describe one experiment in which the glass transition temperature and melting temperature of a totally amorphous thermoplastic material can be determined. show the relevant experimental results in a diagram which should be properly annotated with the two temperatures clearly marked. what is likely to happen to the curve in the diagram if the amorphous polymer is replaced by a thermosetting type?
Answers: 2
Do you know the correct answer?
Write a program that converts a number entered in roman numerals to decimal. your program should con...

Questions in other subjects:

Konu
Mathematics, 20.05.2020 04:04