Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

.11 MetroPCS 8:25 PM @-1 61%) D. + Programming Exercises 1. Kilometer Converter The Kilometer Converter Problem Write a program that asks the user to

image text in transcribed
.11 MetroPCS 8:25 PM @-1 61%) D. + Programming Exercises 1. Kilometer Converter The Kilometer Converter Problem Write a program that asks the user to enter a distance in kilometers, then converts that distance to miles. The conversion formula is as follows 2 Sales Tax Program Refactoring Programming Exercise #6 in Chapter 2 was the Sales Tax program. For that exercise, you asked to write a program that calculates and displays the county and state sales tax on a purchase. If you have already written that program, redesign it so the subtasks are in fur If you have not already written that program, write it using functions 3How Much Insurance? Many financial experts advise that property owners should insure their homes or buildings for at least 80 percent of the amount it would cost to replace the structure. Write a program that asks the user to enter the replacement cost of a building, then displays the minimum amount of nsurance he or she should buy for the property 4. Automobile Costs Write a program that asks the user to enter the monthly costs for the following expenses incurred from operating his or her automobale: loan payment, insurance, gas, oil, tires, and maintenance. The program should then display the total monthly cost of these expenses, and the total annual cost of these expenses . Property Tax A county collects property taxes on the assessment value of property, which is 60 percent of the property's actual value. For example, if an acre of land is valued at $10,000, its assessment value is $6,000. The property tax is then 72e for each $100 of the assessment value. The tax for the acre assessed at $6,000 will be $43.20. Write a program that asks for the actual value ofa piece of property and displays the assessment value and property tax 6 Calories from Fat and Carbohydrates A nutritionist who works for a fitness club helps members by evaluating their diets. As part of her evaluation, she asks members for the number of fat grams and carbohydrate grams that they consumed in a day. Then, she calculates the number of calories that result from the fat, using the following formula calories from fat-fat gramsx9 353 Next, she calculates the number of calories that result from the carbohydrates, following formula: calories from carbs carb grams x 4

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle Solaris 11.2 System Administration (oracle Press)

Authors: Harry Foxwell

1st Edition

007184421X, 9780071844215

More Books

Students also viewed these Databases questions