Computers and Technology, 24.01.2020 23:31 gobbler80
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
Answers: 3
Computers and Technology, 24.06.2019 10:00
1. which of these is not true about torsion bars? a. they can be used to adjust ride height b. they can be adjusted anytime since they don't affect alignment angles c. they attach between the frame and the lower control arm d. they twist to produce a spring effect
Answers: 1
Computers and Technology, 25.06.2019 10:20
(programming exercise 3-10). a retail company must file a monthly sales tax report listing the total sales for the month, and the amount of state and county sales tax collected. the state sales tax rate is 4 percent and the county sales tax rate is 2 percent. design a modular program that asks the user to enter the total sales for the month. from this figure, the application should calculate and display the following: - the amount of county sales tax - the amount of states sales tax - the total sales tax (county plus state) some of the code has already been provided below. complete the missing code below. // global constants for tax calculations constant real county_tax_rate = .02 constant real state_tax_rate = .04 // main module module main() // local variables declare real monthsales, countytax, statetax // get month sales display “enter monthly sales: ” input monthsales // write the statement to calculate county tax // write the statement to calculate state tax // display tax amount call showtaxes(monthsales, countytax, statetax) end module // the showtaxes module accepts monthsales, countytax, statetax // as arguments and displays the resulting data // write the showtaxes module
Answers: 2
Computers and Technology, 25.06.2019 11:30
Give two reasons why cloud computing could be detrimental to a company.
Answers: 1
Computers and Technology, 25.06.2019 15:30
If a 120 v appliance requires 15 a to operate, what is the resistance of the appliance?
Answers: 1
Write a program that converts a number entered in roman numerals to decimal.
your progr...
your progr...
Mathematics, 20.04.2021 21:40
Arts, 20.04.2021 21:40
History, 20.04.2021 21:40
Mathematics, 20.04.2021 21:40
Mathematics, 20.04.2021 21:40
English, 20.04.2021 21:40
Mathematics, 20.04.2021 21:40