advicerelop.blogg.se

Pseudocode writer
Pseudocode writer








(WHILE/DO/ENDWHILE for endless loop which can run forever)ģ) arrays (data structure that has only one data type because it is hard to sort the list but can store multiple data, you can also set up the size of the array such as )Īn empty array would look like this: Name <- Īrray with 5 values would look like this: Food <. (REPEAT/UNTIL for unknown numbers of time but must run at least once) PRINT "You beat the game and you achieved the highest score" PRINT "You beat the game! But not with the highest score"ĥ. PRINT "Not enough points to defeat the game"Ĥ. PRINT "You need to start exercising more"ĬASE statements are a method of selection when answers don’t consist of values between a particular range or there are specific values.

pseudocode writer

1) Selection (allows program to follow different paths with one value, we use IF/ELSE/ELIF/nested if which is an if within an if, you still have to use indentation, and end the IF function using EndIF) e.g.










Pseudocode writer