Hi, I have an assignment to do and my Pseudocode has to be in by tomorrow (its currently 10.30pm in Ireland). The assignment is described here:
http://www.comp.dit.ie/mcollins/ft22...signment1.html
I just want to know if I'm doing my Pseudocode correctly. Am I supposed to put things like:
pound = 0.70 * amount
in my pseudocode?
Anyway here is the first 3 cases so you can tell me if its OK.
I'd really appreciate any help to save me staying up all night.Code:BEGIN
DO
DISPLAY Menu of countries
INPUT country
SWITCH country
CASE 1
DISPLAY coversion options
INPUT option
IF option is 1
prompt for amount
INPUT amount
convert currency
DISPLAY converted currency
ELSE IF option is 2
prompt for amount
INPUT amount
convert currency
DISPLAY converted currency
ELSE
DISPLAY error message
BREAK
CASE 2
DISPLAY coversion options
INPUT option
IF option is 1
prompt for amount
INPUT amount
convert currency
DISPLAY converted currency
ELSE IF option is 2
prompt for amount
INPUT amount
convert currency
DISPLAY converted currency
ELSE
DISPLAY error message
BREAK
CASE 3
DISPLAY coversion options
INPUT option
IF option is 1
prompt for amount
INPUT amount
convert currency
DISPLAY converted currency
ELSE IF option is 2
prompt for amount
INPUT amount
convert currency
DISPLAY converted currency
ELSE
DISPLAY error message
Thanks a lot in advance.