Computers and Technology, 16.04.2020 17:31 doughboy123
Write a program that will calculate and print out bills for the city water company. The water rates vary, depending on whether the bill is for home use, commercial use, or industrial use. A code of h means home use, a code of c means commercial use, and a code of i means industrial use. Any other code should be treated as an error. The water rates are computed as follows: ■ Code h: $5.00 plus $0.0005 per gallon used ■ Code c: $1000.00 for the first 4 million gallons used and $0.00025 for each additional gallon million gallons; $2000.00 of usage is more than 4 million gallons but does not exceed 10 million gallons; and $3000.00 if usage exceeds 10 million gallons Your program should prompt the user to enter an account number (type int), the code (type char), and the gallons of water used (type float). Your program should echo the input data and print the amount due from the user.
Answers: 1
Computers and Technology, 23.06.2019 06:00, Disd112984
Which statement is true of web-based social media? a. they allow consumers to interact with and update content. b. they cannot be updated easily, as compared to print media. c. they are expensive to produce and maintain, as compared to print and television. d. they can exist independent of the internet.
Answers: 1
Computers and Technology, 23.06.2019 14:30, ahmedeldyame
Select the correct answer. which step can possibly increase the severity of an incident? a. separating sensitive data from non-sensitive data b. immediately spreading the news about the incident response plan c. installing new hard disks d. increasing access controls
Answers: 2
Computers and Technology, 25.06.2019 07:50, hayleneolide
Identify an advantage of centralized processing
Answers: 1
Computers and Technology, 25.06.2019 08:00, shadowangel84
Is skill in using productivity software, such as word processors, spreadsheets, database management systems, and presentation software. computer literacyinformation literacybusiness literacynetwork literacy
Answers: 1
Write a program that will calculate and print out bills for the city water company. The water rates...
History, 25.09.2019 20:00
Mathematics, 25.09.2019 20:00
Biology, 25.09.2019 20:00
History, 25.09.2019 20:00
Biology, 25.09.2019 20:00