Week 7 Checkpoint Program Problems

Week 7 Checkpoint Program Problems - Open GRADES Call...

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

View Full Document Right Arrow Icon
Week 7 Checkpoint Program Problems Brandon Hunter IT/210 8/19/2011
Background image of page 1

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

View Full DocumentRight Arrow Icon
Programing Problem #1 Analysis Process: 1: Open “GRADES” file 2: Display Student Name 3: Display Test Scores 4: Add Test Scores 5: Display Sum Main Module Open “GRADES” Declare Name as string Call Write Grades Module Close “GRADES” End Main Module Write Grades Module Display “Enter Student’s Name:, ZZZ to exit” Input Name While Name < > “ZZZ”
Background image of page 2
Write “Names to GRADES” Write “0 0 0” to GRADES” Write “New line” to GRADES Input Name End While End Write Grades Module Programing Problem #2 Main Module Declare StudentName as string Declare test1, test2,test3 as integers
Background image of page 3

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

View Full DocumentRight Arrow Icon
Background image of page 4
Background image of page 5
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Open GRADES Call Display Grades Module Close GRADES End Main Module Display Grades Module R. Abrams 76, 84, 82, 242 Declare Sum as integer While Not EOF(TestScores) Read TestScores, StudentName, Test1, Test2, Test3 Add Test1 + Test2 + Test3 = Total Write StudentName, Test1, Test2, Test3, Sum End while Close TestScores Declare Sum as integer Open GRADES for input as TestScores While not EOF(TestScores) Read TestScores, R. Abrams, 76, 84, 82 Add TestScores 76 + 84 + 82 = 242 Write R. Abrams 76, 84, 82, 242 End While Close TestScores End Display Grades Module...
View Full Document

Page1 / 5

Week 7 Checkpoint Program Problems - Open GRADES Call...

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