Conversion program pseudocode

Use this to help you code your conversion program.

Print welcome message
Print menu
choice = get menu choice from user
while choice is not "x"
   value = get value to be converted from user
    if choice is 1 then
       output = do the conversion
    if choice is 2 then
       output = do the conversion
    if choice is 3 then
       output = do the conversion
    if choice is 4 then
       output = do the conversion
    if choice is 5 then
       output = do the conversion
    if choice is 6 then
       output = do the conversion
    print the output
    choice = get menu choice from user

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s