Describe what the procedure should accomplish

Assignment Help Computer Engineering
Reference no: EM132087454

Paint Job

A painting company has determined that for every 115 square feet of wall space, one gallon of paint and eight hours of labor are required.

The company charges $18.00 per hour for labor. They would like an application that allows the user to enter the number of rooms to be painted and the price of the paint per gallon.

The application should use input boxes to ask the user for the square feet of wall space in each room.

It should then display the following information:

· 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

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 the square footage of wall space.

1. From the scenario above, select one task that needs to be completed.

2. For the task you select, indicate whether you would you use a Function procedure or a Sub procedure.

a. Describe what the procedure should accomplish

b. whether you would pass variables by value or by reference

3. Explain why you chose to use a Function or a Sub and why you chose to pass variables either By Reference or By Value.

Reference no: EM132087454

Questions Cloud

Popular culture references : During research process,if search engines each have their own focus? For instance, does one bring up mostly popular culture references, while another
Determine if it is a standard palindrome a perfect palindrom : A palindrome is a word or phrase that is identical forward or backward, such as the word "racecar."
What was the straight-line interest expense on the december : Interest is paid semiannually. What was the straight-line interest expense on the December 31 annual income statement
Common complaint among grammatical purists : A common complaint among grammatical purists is the following sentence type:
Describe what the procedure should accomplish : A painting company has determined that for every 115 square feet of wall space, one gallon of paint and eight hours of labor are required.
What is the time complexity of the verifier : What is the size of the certificate in terms of the input size? What is the time complexity of the verifier?
How african americans approached the federal state : Topic: Analyze the various ways that WWII and the Cold War affected how African Americans approached the federal state in the late 1950's through the mid 1960s.
Write a boolean method that users recursion : Write a boolean method that users recursion to determine where a String argument is a palindrome.
How does each speaker establish credibility : How does each speaker establish credibility?

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd