ComputerScienceExpert

(11)

$18/per page/

About ComputerScienceExpert

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Applied Sciences,Calculus See all
Applied Sciences,Calculus,Chemistry,Computer Science,Environmental science,Information Systems,Science Hide all
Teaching Since: Apr 2017
Last Sign in: 103 Weeks Ago, 3 Days Ago
Questions Answered: 4870
Tutorials Posted: 4863

Education

  • MBA IT, Mater in Science and Technology
    Devry
    Jul-1996 - Jul-2000

Experience

  • Professor
    Devry University
    Mar-2010 - Oct-2016

Category > Programming Posted 26 May 2017 My Price 9.00

Lab 6.3: Function with Return

  • Lab 6.3: Function with Return

    Here is the problem specification:

    A painting company has determined that for every 415 square feet of wall space, one gallon of paint and eight hours of labor will be required. The company charges $18.00 per hour for labor. Write a modular program that allows the user to enter the number of rooms that are to be painted and the price of the paint per gallon. It should also ask for the square feet of wall space in each room. It should then display the following data:

  • The number of gallons of paint required
  • The hours of labor required
  • The cost of the paint
  • The labor charges
  • The total cost of the paint job
  • Input validation: Do not accept a value less than 1 for the number of rooms. Do not accept a value less than $10.00 for the price of paint. Do not accept a negative value for square footage of wall space. 

    Sample run:

    Enter the price of the paint, per gallon: 10
    Enter the number of rooms to be painted: 2
    Room 1: Enter the area of wall space in square feet: 30
    Room 2: Enter the area of wall space in square feet: 50
    
    ESTIMATED CHARGES
    ------------------
    
    Gallons of paint:  1
    Hours of labor  :  1.54
    Price per gallon: $10.00
    Paint cost:       $10.00
    Total labor:      $27.76
    Total charges:    $37.76
      

    Requirements:

  • Create an IPO chart. List the input, processing, and output items.
  • Plan the algorithm using pseudocode.
  • code in .cpp file

 

example included.

 

Kevin Fong, Rubul Grewal, Jonathan Garcia, Joseph FernandesLab 4.2: Working with ifA teacher wants a program that allows a student to enter the amount of money a customer owes andthe amount of money the customer paid. The program should calculate and display the amount ofchange, as well as how many dollars, quarters, dimes, nickels, and pennies to return to the customer.Display an appropriate message when the amount paid is less than the amount owed.

Kevin Fong, Rubul Grewal, Jonathan Garcia, Joseph FernandesLab 4.4: Logical OperatorsWrite a program that asks for the names of three runners and the Tme it took each of them to ±nish a race. ²he programshould display who came in ±rst, second, and third place.Input ValidaTon: Only accept posiTve numbers for the Tmes.

Attachments:

Answers

(11)
Status NEW Posted 26 May 2017 07:05 AM My Price 9.00

-----------

Attachments

file 1495783066-Solutions file 2.docx preview (51 words )
H-----------ell-----------o S-----------ir/-----------Mad-----------am ----------- Th-----------ank----------- yo-----------u f-----------or -----------you-----------r i-----------nte-----------res-----------t a-----------nd -----------buy-----------ing----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n. -----------Ple-----------ase----------- pi-----------ng -----------me -----------on -----------cha-----------t I----------- am----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I w-----------ill----------- be----------- qu-----------ick-----------ly -----------onl-----------ine----------- an-----------d g-----------ive----------- yo-----------u e-----------xac-----------t f-----------ile----------- an-----------d t-----------he -----------sam-----------e f-----------ile----------- is----------- al-----------so -----------sen-----------t t-----------o y-----------our----------- em-----------ail----------- th-----------at -----------is -----------reg-----------ist-----------ere-----------d o-----------n -----------THI-----------S W-----------EBS-----------ITE-----------. ----------- Th-----------ank----------- yo-----------u -----------
Not Rated(0)