1 Replies - 5925 Views - Last Post: 05 July 2010 - 11:16 PM Rate Topic: -----

#1 ranks0213  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 7
  • Joined: 05-July 10

Pseudo-code for a WHILE loop assignment

Posted 05 July 2010 - 05:06 PM

I need to write the pseudo code for this:

Design a program that prompts the user to enter the number of registered students in a class. If the number of students is greater than 0, the program uses, a counter-controlled WHILE loop to prompt the user that number of time for the students' names. Write the students' name to an output file named students.txt. Display a message to the user when the the program is complete.



OK so have the Pseudo-code going well, until i reach the WHILE loop part of the statement. I can code it, but How would i write it?

Is This A Good Question/Topic? 0
  • +

Replies To: Pseudo-code for a WHILE loop assignment

#2 alias120  Icon User is offline

  • The Sum over All Paths
  • member icon

Reputation: 122
  • View blog
  • Posts: 700
  • Joined: 02-March 09

Re: Pseudo-code for a WHILE loop assignment

Posted 05 July 2010 - 11:16 PM

Could you show us what you have attempted so far? If you know how to code this, pseudo-code should be a piece of cake.
Was This Post Helpful? 1
  • +
  • -

Page 1 of 1