{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Ch02-3 - Ch2-3 Java Ch 2 Data& Loops Ch2-3 Housekeeping...

Info iconThis preview shows pages 1–5. 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 Document Right Arrow Icon

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

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

Unformatted text preview: Ch2-3.ppt Java Ch. 2 Data & Loops Ch2-3.ppt Housekeeping Schedule Programming Asgn. 1 & 2 Announcements Turn In & Return Questions? Ch2-3.ppt Section 2.3 Ch2-3.ppt Repetition • So far, when we wanted to perform a task multiple times, we have written redundant code: System.out.println(“I will not throw the principal’s toupee down the toilet"); System.out.println(“I will not throw the principal’s toupee down the toilet"); System.out.println(“I will not throw the principal’s toupee down the toilet"); System.out.println(“I will not throw the principal’s toupee down the toilet"); System.out.println(“I will not throw the principal’s toupee down the toilet"); System.out.println(“I will not throw the principal’s toupee down the toilet"); System.out.println(“I will not throw the principal’s toupee down the toilet"); System.out.println(“I will not throw the principal’s toupee down the toilet"); System.out.println(“I will not throw the principal’s toupee down the toilet"); System.out.println(“I will not throw the principal’s toupee down the toilet"); System.out.println(“I will not throw the principal’s toupee down the toilet"); System.out.println(“I will not throw the principal’s toupee down the toilet");System....
View Full Document

{[ snackBarMessage ]}

Page1 / 24

Ch02-3 - Ch2-3 Java Ch 2 Data& Loops Ch2-3 Housekeeping...

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

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