Using VB.net, C# and SQL Server
I want to write a pseudo for my application.
pseudo code is like coding or flow chart...?
Can any one provide a sample pseudo code for any type of application.
Using VB.net, C# and SQL Server
I want to write a pseudo for my application.
pseudo code is like coding or flow chart...?
Can any one provide a sample pseudo code for any type of application.
I think this will be helpful:
http://en.wikipedia.org/wiki/Pseudo-code
Particularly:
No standard for pseudocode syntax exists, as a program in pseudocode is not an executable program. Pseudocode resembles, but should not be confused with, skeleton programs including dummy code, which can be compiled without errors. Flowcharts can be thought of as a graphical alternative to pseudocode.
Pseudo-code is supposed to be a natural language equivalent of code, for example:
while there are items left to process
process the current item
remove the item from the collection
Pseudo code is just a way to express the intent of the program without being syntactically correct.
An example could be:
print "What is your name"
read input from user
print "Hello " + user input
Another example for withdrawing money from an ATM:
if the selected account's balance is greater than the requested amount
reduce balance by requested amount
else
display error message
end if