When to use which control structures

Assignment Help Basic Computer Science
Reference no: EM131548558

When to use which control structures

In the previous discussion board you were given the program scenario for Artistic Solutions, a painting company, and then you were asked how you would design the program. In this discussion decide what control structures are necessary for the application for Artistic Solutions. In your post give your reasons for choosing those control structures and be prepared to backup those choices.

Program Scenario:

Artistic Solutions, a painting company, has determined that for every 160 square feet of wall space, one gallon of paint and three hours of labor are required. The company charges $28.00 per hour for labor. Design a modular program that allows the user to enter the number of rooms that are to be painted, the approximate square feet of wall space in each room (it may differ from room to room), and the price of the paint per gallon. It should then create a report that includes a fancy company header and displays the following information:

  • The number of gallons of paint required (rounded up to the next full gallon)
  • The hours of labor required
  • The cost of the paint
  • The labor charges
  • The total cost of the paint job

Previous discussion board was answered with

Looking at the initial problem I would keep this program simple giving it three modules.

The first would get the input data (squareFeet, gallonOfPaint, hoursWorked, Cost)

The second would process the input data (Real squareFeet, Real gallonOfPaint, Real hoursWorked)

The last would output the processed data as how many gallons were required, hours worked, cost of paint, labor charges and total cost of the job.

Reference no: EM131548558

Questions Cloud

The voices of the least-advantaged people were recognized : Describe the ways that the author appeals to the fairness of the process-assuring notice and voice for those affected.
Create an entity-relationship diagram : Use the case study description and list of requirements below to create an entity-relationship diagram showing the data requirements of FastFoods4U database.
Discuss whether or not the ethical analysis made sense : Did you like the results? Did you like the reasons for taking the action, the rationale that is part of the deontological school of thought?
What is the hpv vaccine : The cause and effects of the diseases that australian children are currently vaccinated against.
When to use which control structures : In the previous discussion board you were given the program scenario for Artistic Solutions, a painting company.
Describe the reasons for the referral - relevant background : Describe the reasons for the referral and relevant background information for all stakeholders from the chosen personality assessment scenario.
Explain the purpose of qos on a tcp : Explain the purpose of QoS on a TCP/IP network. Define the basic purpose of IP precedence, TOS, Diffserv, and ECN functionality.
Interface receives superior bpdu packets : What is the name of the security feature on a Cisco switch that will place a postfast interface into root-inconsistent state as long as that interface receives?
The weaknesses of this ethical system : Explain what this ethical system could learn from another of the systems of ethics we have studied. Again, be specific and support your ideas with research.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

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