Lecture 12

Lecture 12 - CS170 Computer Applications for Business Fall...

Info iconThis preview shows pages 1–7. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: CS170 Computer Applications for Business Fall 2008 Instructor: Kristian Stout Lecture 12 More Javascript Loops Readings: Chapter 21 Exam & Review 10/20 and 10/21 classes will be pre-exam reviews (depends on which section you are in) Bring your questions and issues. That lecture will be totally to go over any outstanding issues you have There IS class on 10/23. This is a normal lecture Exam 1 Locations Sections Room 01 - 04 SC-123 05 - 10 SC-135 17 - 20 ARC-103 21 - 24 Hill 114 JavaScript: Lecture 4 Loops Loops: What are they good for Loops while dowhile for Loop Examples Why do we need loops? Loops enable us to run a set of computations many times Examples- Printing out n numbers- If a wrong username/password is entered, keep asking for correct one.- waiting for something to happen- JS1: Customer can purchase multiple products Loops Loops are used to repeat a block of code- we call this iterating or iteration Loops are used to repeat a block of code a specified number of times while a specified condition is true There are three types: while , do and for Essentials for a loop...
View Full Document

This note was uploaded on 02/07/2011 for the course COMP 178 taught by Professor Stout during the Fall '08 term at Rutgers.

Page1 / 31

Lecture 12 - CS170 Computer Applications for Business Fall...

This preview shows document pages 1 - 7. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online