PDF Tutorial 6 Car Payment Calculator Application: Introducing ...

Tutorial 6 ? Car Payment Calculator Application: Introducing the while Repetition Statement

Outline

6.1

Test-Driving the Car Payment Calculator Application

6.2

while Repetition Statement

6.3

Increment and Decrement Operators

6.4

Constructing the Car Payment Calculator Application

6.5

do...while Repetition Statement

6.6

Wrap-Up

? Copyright 1992?2005 by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved.

Objectives

? In this tutorial, you will learn to:

? Use the while repetition statement to execute statements repeatedly.

? Use counter-controlled repetition. ? Use the increment and decrement operators. ? Use the setw and left stream manipulators.

? Copyright 1992?2005 by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved.

6.1 Test Driving the Car Payment Calculator Application

? Copyright 1992?2005 by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved.

6.1 Test Driving the Car Payment Calculator Application (Cont.)

Figure 6.1 Car Payment Calculator application before data has been entered.

Figure 6.2 Car Payment Calculator application after data has been entered.

? Copyright 1992?2005 by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved.

6.1 Test Driving the Car Payment Calculator Application (Cont.)

Figure 6.3 Car Payment Calculator application displaying calculation results.

? Copyright 1992?2005 by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved.

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download