Description
A painting company has determined that for every 115 square feet of wall space, one gallon of paint and
8 hours of labor are required. The company charges $18.00 per hour for labor. Create an application
that allows the user to enter into text boxes the total square footage of wall space to be painted and the
price of the paint per gallon. It should then display the following information:
The number of gallons of paint required (remember that if the value has a fraction of a gallon,
you need to increase the number of gallons to the next full gallon of paint)
The hours of labor required
The cost of the paint
The labor charges
The total cost of the paint job
All the bulleted items must be calculated in separate methods.
Input Validation: 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.
You write a short description of what the program will do
When you complete the program, do the following.
1. Turn in a printout of the source code from Visual Studio with this sheet attached to the front
2. Create a folder with the following name:
Program 01
3. Copy your project to this folder
4. Copy the folder to the following location:
I:\kopp\inbox\CS 313 01\
your name
where your
name is a folder located in I:\kopp\inbox\CS 313 01.
Extra Credit 5 points:
Allow the user to enter a number of rooms 1-5. The form should display labels and text boxes (one set
for each room) to allow the user to enter the square footage for each room. These should be added
together in order to get the total square footage.
Unformatted Attachment Preview
Purchase answer to see full attachment
Explanation & Answer
Review
Review
24/7 Homework Help
Stuck on a homework question? Our verified tutors can answer all questions, from basic math to advanced rocket science!