Lecture15 - Java Programming, 3e Concepts and Techniques...

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

View Full Document Right Arrow Icon
Java Programming, 3e Concepts and Techniques Chapter 4 Decision Making and Repetition with Reusable Objects (II) ICTN 2730 Lecture 15 02/15/2008
Background image of page 1

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

View Full DocumentRight Arrow Icon
2 Chapter 4: Decision Making and Repetition with Reusable Objects Assignments Read chapter 4 and lecture notes The commission programs (application and applet) can be downloaded from ftp://150.216.57.8/pub/ictn2730/Chapter4.zip Type and examine the code Homework 5 is due next Wednesday. Today’s Office Hours: 11:00 am – 11:15 am, 3:30 pm – 4:15 pm
Background image of page 2
3 Chapter 4: Decision Making and Repetition with Reusable Objects Tip of the day The Java Tutorial http://java.sun.com/docs/books/tutorial The best reference with a lot of examples The tutorial is updated for JDK 6 We are using JDK 5 in this class
Background image of page 3

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

View Full DocumentRight Arrow Icon
Chapter 4: Decision Making and Repetition with Reusable Objects The Sales Commission Program Calculate sales commission for agents in a travel agency Coded as a console application and an applet The commission rates are based on the type of sale. (Telephone (10%), In-store (14%), and Outside(18%)). Input The user chooses from three types of commission codes. The commission code identifies the type of sale and the commission rate. Algorithm: commission = sales amount * commission rate
Background image of page 4
Image of page 5
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 22

Lecture15 - Java Programming, 3e Concepts and Techniques...

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

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