This preview has intentionally blurred parts. Sign up to view the full document

View Full Document

Unformatted Document Excerpt

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.3: Count Controlled with While and Do-while Loops: Pseudocode7.... View Full Document

End of Preview

Sign up now to access the rest of the document