Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I need help with all! 16.(10) I'm buying a house and I need to know how much the Realtor fees are. The Realtor's fee is

I need help with all! image text in transcribed
16.(10) I'm buying a house and I need to know how much the Realtor fees are. The Realtor's fee is 3.8%. Write the code to read in the CostOfHouse, compute and print the Realtor's fees. cin >> CostOfHouse; 17. I am conducting a survey of folks who drink sodas and from that produce some additional information (output). Write the code to prompt the user for the number of folks in the survey and read in the value. float nbr_survey; (5) a (5) b. Of the folks survey, 25% of them drink 5 or more sodas a week, 30% 2 sodas per week, and 15% one soda per week. Write the code to compute and print the number of folks from the survey who do not drink sodas. Declare any variables as needed. (5) C. Of the folks who drink 5 or more sodas per week, 20% of them preferred to drink Dr. Pepper. Write the code to compute and print the numb D r. Pepper drinkers. Declare any variables as needed

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

Modern Database Management

Authors: Jeffrey A. Hoffer Fred R. McFadden

4th Edition

0805360476, 978-0805360479

More Books

Students also viewed these Databases questions

Question

1-4 How will MIS help my career?

Answered: 1 week ago