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

    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

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

    • 657 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

    3. Analyze or determine the year of release for all CD’s or DVD’s in collection.…

    • 137 Words
    • 1 Page
    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
  • Satisfactory Essays

    Bus210 Appendix D

    • 352 Words
    • 2 Pages

    |For a directive approach, I would start each employee’s first day with a |For the supportive approach, I would try to be friendly with my employees. I |…

    • 352 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

    Aed 204/Appendix F

    • 355 Words
    • 2 Pages

    Directions: Assume that you are on the school board of your school district and you are tasked with the job of strategic planning for issues facing your district. Complete the matrix below to determine the potential response of each of the religious groups in your community. Use the attached links to research the basic moral and ethical principles believed by each group. Then determine how you believe each group will react to the issue based on what you find. Provide a brief justification for your answer. After completing the matrix, write a 300- to 500-word summary of the significant similarities and differences among the different religious groups.…

    • 355 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