Preview

carpet size

Satisfactory Essays
Open Document
Open Document
286 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
carpet size
Chapter 1 Programming Challenges Assigned on 1/20/2009 USE THIS EXAMPLE for chapter 1 Programming Challenges to complete Programming Challenges 2 on page 38 in your text. Complete all the steps for 2 / electronic or hand written and submit via e-mail or hand in. 1. Carpet Size Step 1 Purpose Calculate a rooms area in square feet Input The length and width of the room Process Multiply length by width Output The area of the room Step 2 Step 3 Control TypeNameFormdefaultLabel (for displaying Length of the Room)defaultLabel (for displaying Width of the Room)defaultLabel (for displaying The Area is)defaultTextBoxtxtLengthTextBoxtxtWidthLabellblAreaButtonbtnC- alculateButtonbtnExit Step 4 Control Text PropertyFormArea CalculatorLabelLength of the RoomLabelWidth of the RoomLabelThe Area istxtLengthtxtWidthlblAreabtnCalculateCalculate AreabtnExitExit Step 5 Method NameDescriptionbtnCalculate_ClickMultiplies the value stored in the txtLength controls Text property by the value stored in the txtWidth controls Text property. The result is stored in the lblArea controls Text property.btnExit_ClickEnds the application. Step 6 btnCalculate_Click Flowchart Pseudocode SHAPE MERGEFORMAT btnExit_Click Flowchart Pseudocode End Multiply the value in txtLength.Text by the value in txtWidth.Text, store result in lblArea.Text. Start Multiply the rooms length by the rooms width and store the result in lblArea.Text. End End the application. Start End K-ytVPoGJZIXkL4zdC67Nc7 CfMG8Ht-cz cPE VBXNMobe6lBXuNXb-cUE VWEIn5r8 0
8(D )2P/-D 3vRGC oDVD2tNvztPa2OO/oSLyI),N GdQidupCSRV ,hHWsCQ152IXx8twHuKr9U-jWBG m_HP.2JAzH6G(vNggvo458y ht 48vPNh-4h.RSKJTf(jlO m1EIX ryjf lv0s72 hTEZJiu ZM2Yo8
GW__MLpNO(5EXiVIM8IgL ZkBKAqy NJwGkv//Bc
LHYHTHYHTHYHTHYHTHYHTHYHTHYHTHYHTHYHTHYHTHYHTHYHTHYHTHYHTH(I @.vgtbZxJCXwxXJkpY oHKNmOQzKQYylS6nS4dEjr5GI gZu_bBQWiL 995/NapXvvnIX Kv09Y8XIIAZ.tOjZ
S3pmT7)5GRyun7NvNKzZ0nGq3o .0OS-G L,Hsm-6M4,3Nq
.JOOibIEz HXm,qU

You May Also Find These Documents Helpful

  • Satisfactory Essays

    Nt1310 Assignment 1

    • 407 Words
    • 2 Pages

    II. Analysis. The intent for this program is to calculate the square footage of a house with no more than four rooms that are rectangular in shape. In order to do this we will identify each room, input the length (l) and width (w) of each room, multiply the l x w of each room to get the square foot, and add the sum of each room to secure the total square footage of the house.…

    • 407 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    PT1420 Unit 8 Lab 8

    • 365 Words
    • 2 Pages

    Step 12: Write the missing lines for a program that will allow the user to enter how…

    • 365 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Complete the two assigned learning team problems found in the Week 4 Microsoft® Excel® template provided in the Course Materials forum.…

    • 2191 Words
    • 11 Pages
    Satisfactory Essays
  • Good Essays

    Space Needs or setting required: Indoor, computer desk with computer equipment, well lit area, and an the size of the area does not matter as long as a computer desk and chair can fit.…

    • 1030 Words
    • 5 Pages
    Good Essays
  • Satisfactory Essays

    LDR 531 Week 1-6 Everything included (All Assignments and DQ's + LDR 531 Final Exam) 100% Correct Version 4…

    • 384 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    In the mathematical expression for the room was in (4x – 4) (8x – 8) metres. The question asks us to half the length and width of the room by finding the expression of the length of each side of piano therefor the answer is half of the above expression so therefore it would be (2x-2) (4x-4).…

    • 288 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Glg 101 Study Guide

    • 975 Words
    • 4 Pages

    6. Two computer users are discussing the features available in the Windows on-screen calculator. User A says that either the mouse or the numeric keypad on the keyboard can be used to enter calculations. User B says that double-clicking on the Calculator title bar will expand the window frame to fill the entire desktop. Who is correct?:A…

    • 975 Words
    • 4 Pages
    Good Essays
  • Good Essays

    Accounting 315

    • 1877 Words
    • 8 Pages

    Where a yellow highlighted cell shows "Date" enter the appropriate date for that step of the challenge. This may be any date format that Microsoft Excel accepts. Some of these formats include "1/1/12", "01/01/12", and "01/01/2012." All of these will return January 01, 2012, in the format set in the template.…

    • 1877 Words
    • 8 Pages
    Good Essays
  • Satisfactory Essays

    LDR 531 Week 1-6 Everything included (All Assignments and DQ's + LDR 531 Final Exam) 100% Correct Version 4…

    • 370 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    Before you begin the assignment for Module 1, please click the Module 1 assignment link in the online course navigation…

    • 2813 Words
    • 11 Pages
    Powerful Essays
  • Satisfactory Essays

    Comp 122 Week 1 Ilab

    • 662 Words
    • 3 Pages

    3. Design an algorithm in pseudocode to solve the problem. Make sure to include steps to get each input and to report each output.…

    • 662 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Lgst 369

    • 377 Words
    • 2 Pages

    |Week 2 |Complete Assignment 1 and submit it to your tutor for grading and feedback. |…

    • 377 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    provided for children. The layout in the the room needs enough space to move around and there…

    • 253 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    How Does Glfloat Shape

    • 376 Words
    • 2 Pages

    glPopMatrix(); glPushMatrix(); glTranslated(translate_x, translate_y, translate_z); glRotated(rot,0,1,0); glutSolidTeapot(0.08); glPopMatrix(); glPushMatrix(); glTranslated(0.25,0.42,0.35); glutSolidSphere(jack_radius,15,15); glPopMatrix(); glPushMatrix(); glTranslated(0.4,0,0.4); table(0.6,0.02,0.02,0.3); glPopMatrix(); wall(0.02); glPushMatrix(); glRotated(rot,0.0,0.0,1.0); wall(0.02); glPopMatrix(); glPushMatrix(); glRotated(-90.0,1.0,0.0,0.0); wall(0.02); glPopMatrix(); glFlush(); } void mouse(int button, int state, int x, int y) { switch (button)…

    • 376 Words
    • 2 Pages
    Powerful Essays
  • Powerful Essays

    POS 408

    • 3128 Words
    • 14 Pages

    Two buttons. One to clear the contents of the text boxes, and one to exit the application. Include hot keys on the buttons.…

    • 3128 Words
    • 14 Pages
    Powerful Essays

Related Topics