Jump to content

help!

- - - - -

  • Please log in to reply
8 replies to this topic

#1
0ken0

0ken0

    Newbie

  • Members
  • Pip
  • 4 posts
i am currently studying programming at university howevr i hope to meet some programmers here ..i am doing c++ n java...i av a lil problem i need insight on i am writing a pseudo code on something any1 here understand exactly how to write pseudo codes?

#2
Alexander

Alexander

    It's Science!

  • Moderators
  • 4,118 posts
  • Location:Vancouver, Eh! Cleverness: 200
What sort of pseudocode do you need to write?
Be sure to read the updated FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.

#3
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
  • Location:Upstate, South Carolina
  • Programming Language:C, C++, PL/SQL, Delphi/Object Pascal, Pascal, Transact-SQL, Others
  • Learning:Java, C#, PHP, JavaScript, Lisp, Fortran, Haskell, Others
Pseudocode is not a formal language, so it's somewhat flexible. Anyone who can write a program in a specific language can generalize it to pseudocode.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#4
isuru

isuru

    Programming Professional

  • Members
  • PipPipPipPipPip
  • 233 posts
Anyone can write pseudocode. There is no write or wrong way. But check some examples. Pseudocode - Wikipedia, the free encyclopedia
Lost!

#5
0ken0

0ken0

    Newbie

  • Members
  • Pip
  • 4 posts
well i wrote a algorithm to register new students into an organization right. to register new students i need first last names adres telephone # health status ok so i wrote the algorithm ;
get first name
get last name
get address
get telephone #
get health status
store
assigned I.D #
register

thats hw i did the algorithm n if u noticed a unique I.D # should be assigned to each student registered.
i must now write a pseudo code for that algorithm

i start it:
Start
Print ''please enter first name''
Read first name
Print ''please enter lastname''
Read Lastname
Print ''please enter address''
Read address

that is how i start the pseudo but id like some one to finish it ..as fir the I.D there shud b a While Loop to assign ID automatically to all registered students n a end point ?
NULLw0rm u see what me sayin ? cn help?

#6
0ken0

0ken0

    Newbie

  • Members
  • Pip
  • 4 posts
no help ?

#7
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
  • Location:Upstate, South Carolina
  • Programming Language:C, C++, PL/SQL, Delphi/Object Pascal, Pascal, Transact-SQL, Others
  • Learning:Java, C#, PHP, JavaScript, Lisp, Fortran, Haskell, Others
The next four lines should be very similar.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#8
0ken0

0ken0

    Newbie

  • Members
  • Pip
  • 4 posts
yes but how wud i apply the unique # to evry registered student

#9
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
  • Location:Upstate, South Carolina
  • Programming Language:C, C++, PL/SQL, Delphi/Object Pascal, Pascal, Transact-SQL, Others
  • Learning:Java, C#, PHP, JavaScript, Lisp, Fortran, Haskell, Others
Generally, you will have to keep track of the maximum number you've assigned in a separate variable.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users