Lab 7.1 - 7.6 accumulation and loops

Lab 7.1 - 7.6 Accumulation and Loops
Download Document
Showing pages : 1 - 4 of 6
This preview has blurred sections. Sign up to view the full version! View Full Document
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Scott Cumston 2/7/2013 PT1420 Thursday 165 Introduction to Programming Instructor: David Brown Unit 7 Labs 7.1: Condition-Controlled with While and Do-While Loops: Pseudocode Step 2: Module main ( ) // Declare local variables Declare String clientName = Declare Real feetUTP = 0 Declare Real subtotal = 0 Declare Real taxCost = 0 Declare Real totalCost = 0 Declare String keepGoing = y //Start While loop While keepGoing ==y Call inputData ( feetUTP, clientName) Call calcCosts (feetUTP, subTotal, taxCost, totalCost) Call displayBill (clientName, totalCost) Display Would you like to continue Display Press (y) to continue End While End Module Scott Cumston 2/7/2013 PT1420 Thursday 165 Introduction to Programming Instructor: David Brown Unit 7 Labs 7.2: Condition-Controlled with While and Do-While Loops: Flowchart Scott Cumston 2/7/2013 PT1420 Thursday 165 Introduction to Programming Instructor: David Brown Unit 7 Labs 7....
View Full Document