Preview

IT210 R5 appendix b

Satisfactory Essays
Open Document
Open Document
191 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
IT210 R5 appendix b
Associate Program Material
Appendix B

Input and Output Process Example

The following example explains how to write a program that calculates the cost of painting a room. If the user provides the price of a gallon of paint; the number of square feet one gallon of paint covers; and the length, height, and width of the room, you can calculate the total cost of painting the room.

To calculate the total cost, determine the room area and divide the area to be painted by the number of square feet one gallon of paint covers. Then, multiply the number of gallons needed by the price per gallon to find the total cost. Provide the total cost to the user.

The following chart illustrates the data input and output process:
Input
Process
Output
Price
Square feet per gallon
Width
Length
Height
Get user input.
Price
Square feet per gallon
Width
Length
Height

Length
Height
Width

Find room area.
Total area

Square feet per gallon
Total area

Divide the area.
Gallons needed

Gallons needed
Price

Multiply gallons.
Total cost

Price
Square feet per gallon
Width
Length
Height
Total cost

Display the total.
Total cost

You May Also Find These Documents Helpful

  • Satisfactory Essays

    Square feet - Rent Cubic feet - Heating Cost Electricity Indirect Labor Supplies Purchasing Engineering Total Cost…

    • 657 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Hsm 260 Week 4 Case Study

    • 660 Words
    • 3 Pages

    Week 4 Exercise 15-1. Items to Classify | Standard | Actual | Type of Variance | Labor cost | $10.00 per hr | $9.60 per hour | favorable | Labor usage | 61,000 hrs | 61,800 hrs | unfavorable | Fixed cost spending | $400,000 | $390,000 | favorable | Fixed cost per unit | $3.20 per unit | $3.16 per unit | favorable | Sales volume | 40,000 units | 42,000 | unfavorable |…

    • 660 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Nt1310 Unit 3

    • 659 Words
    • 3 Pages

    Program description: I calculated the usable area in square feet of a house. Assume that the house has a maximum of four rooms, and that each room is rectangular. I wrote pseudo code statements to declare 4 Integers and labeled them homesqft, room1, room2, room3, and room4. Each room will have its length and width to calculate its area.…

    • 659 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Acc 220 Appendix C

    • 336 Words
    • 2 Pages

    |Direct materials budget |An estimate of the quantity and cost of direct materials to be |Analyzes the amount of raw materials that a manufacturing |…

    • 336 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Homework Week 2

    • 743 Words
    • 3 Pages

    c. Design an algorithm in pseudocode to solve this problem. Make sure to include steps to get each input and generate each output.…

    • 743 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    IT210 R5 Appendix D 2

    • 197 Words
    • 2 Pages

    Match the activity or purpose on the left with the appropriate description on the right by typing in the corresponding letter under the Answer column.…

    • 197 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Bus 210 Appendix C

    • 319 Words
    • 2 Pages

    In the table below, categorize your actions during the event under each of the four functions of management.…

    • 319 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    IT/210 Appendix D

    • 453 Words
    • 4 Pages

    Consider the Input and Output Process Example program in Appendix B, in which you developed what are often called system-level requirements: the basis for all subsequent analysis and design steps. The following steps will take these system-level requirements and refine them into a detailed blueprint for the program.…

    • 453 Words
    • 4 Pages
    Powerful Essays
  • Satisfactory Essays

    Bus 210 Week 8 Appendix E

    • 381 Words
    • 2 Pages

    | A central processing unit many times less powerful than a mainframe at the time of inception (1970’s), but today can be related to a microchip capable of processing whatever information the user inputs.…

    • 381 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Appendix C Hca 210

    • 372 Words
    • 2 Pages

    | |makes sure that they know what will be happening to them. | | |…

    • 372 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Hum 130 Appendix D

    • 765 Words
    • 3 Pages

    | The name of the Indigenous culture/religion presented in this website is the Japanese Religion Shinto.…

    • 765 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    4 1

    • 331 Words
    • 2 Pages

    1. Use the values given in the above triangle and find the value of B, b, and c.…

    • 331 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Com/220 Appendix F

    • 353 Words
    • 2 Pages

    |persuasive essay? |explain why it’s important to use legal drugs for what they’re intended. |…

    • 353 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Hsm 210 Appendix E

    • 507 Words
    • 2 Pages

    In scenario one the prevention level being used is the Primary level of prevention. The reason I believe that this method is being used because the services offered through the agency are ones to prevent the abused women from being depressed and leading to other psychological disorders. In this particular scenario I wouldn’t do anything different, I think that the agency has a good plan in effect for dealing with potential hostile or violent situations. Instead of confronting the husband trying to talk rationally with him and defuse the situation while alarming the authorities is the best route for dealing with a person like that. In the case of the wife the programs offered through the agency promote self-worth and help prevent her from feeling bad about herself. Learning new job skills and healthy ways of thinking about oneself should prepare her for an independent lifestyle to provide for her and her children.…

    • 507 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Unit10OpenResponse

    • 607 Words
    • 4 Pages

    D. Compute the areas, number of gallons you will need (if different paints are used, how much of each), and final cost for paint. Show your computations here.…

    • 607 Words
    • 4 Pages
    Good Essays

Related Topics