itc320Lab7Fall2017.docx - ITC 320 Lab 7 Assigned Week 8 Due...

This preview shows page 1 - 2 out of 5 pages.

ITC 320 Lab 7 Assigned: Week 8 Due: Week 9 Points: 25 Reading: Chapter 7: How to work with numbers, strings, and dates Chapter 8: How to code control statements Complete the following 4 Exercises from Chapters 7 & 8 (on following pages of this document): 1. Extra 7-1 2. Extra 7-2 3. Extra 8-1 4. Extra 8-2 You will need to download the starting code for these applications from Blackboard under Course Materials  Exercises-Extra You can download either the individual chapter 5 folders .zip file, or the all folders .zip file. Once you’ve completed the labs, keep separate folders for each Exercise, and post all 3 completed folders as a SINGLE .zip file to the Blackboard submission link.
Image of page 1

Subscribe to view the full document.

Extra 7-1 Develop the Change Calculator application In this exercise, you’ll create an application that displays the minimum number of quarters, dimes, nickels, and pennies that make up the number of cents specified by the user. The application interface looks like this: 1 Open the HTML and JavaScript files in this folder: exercises_extra\ch07\change_calculator\ 1. In the JavaScript file, note that three functions are supplied. The $ function. The start of a calculateChange function. And an onload event handler that attaches the calculateChange function to the click event of the Calculate button. 2. In the calculateChange function, get the value entered by the user and make sure it’s an integer that’s between 0 and 99. If it isn’t, display an alert box with this message: “Please enter a valid number between 0 and 99”.
Image of page 2
You've reached the end of this preview.
  • Fall '08
  • Stinson,M

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern