Thread: I need help with this!!!

  1. #1
    Registered User
    Join Date
    May 2002
    Posts
    15

    I need help with this!!!

    I am trying to write the coding for a "menu that allows the user to choose which currency and the amount of the foreign currency they wish to convert to US dollars. The menu is displayed using a loop. The program will continue running until the user select "Exit" option. Function(s) (besides main()) must be used. Inputs should be checked for validity. An example of the output is as follows:


    Currency Conversion
    ------------------------------------------------
    1) Swiss Franc
    2) British Pound
    3) Japanese Yen
    4) Canadian Dollar
    5) Euro
    6) Exit the Program

    Enter Your Choice (1-6): 3
    Enter the Amount: 1000


    1000 Japanese Yen = 8.1 US Dollars

    ------------------------------------------------
    1) Swiss Franc
    2) British Pound
    3) Japanese Yen
    4) Canadian Dollar
    5) Euro
    6) Exit the Program

    Enter Your Choice (1-6): 9
    9 is an invalid selection. Try again!

    ------------------------------------------------
    1) Swiss Franc
    2) British Pound
    3) Japanese Yen
    4) Canadian Dollar
    5) Euro
    6) Exit the Program

    Enter Your Choice (1-6): 6
    Goodbye.

    Note that your output must be formatted and aligned neatly. Insert comments in the program to document the program internally.

  2. #2
    Registered User Mario's Avatar
    Join Date
    May 2002
    Posts
    317
    Look ob1cnobe, I already told you you won't get far that way. No one here will write the entire program for you. They will at most hint you in the right direction and answer some specific doubts you may have.

    So, before making an ass of yourself, don't post again those 3 messages you sent me and just read a good tutorial (start with the one from this website). That alone will help you a lot. Then when and if you can't do something, post your doubt here.

    Also, read the FAQ for these forums.
    Regards,
    Mario Figueiredo
    Using Borland C++ Builder 5

    Read the Tao of Programming
    This advise was brought to you by the Comitee for a Service Packless World

  3. #3
    Registered User
    Join Date
    Feb 2002
    Posts
    589
    You forgotte to post the code you have done? You also forgotte to post a question.

  4. #4
    Registered User
    Join Date
    May 2002
    Posts
    15
    have a menu that allows the user to choose which currency and the amount of the foreign currency they wish to convert to US dollars. The menu is displayed using a loop. The program will continue running until the user select "Exit" option. Function(s) (besides main()) must be used. Inputs should be checked for validity. An example of the output is as follows:


    Currency Conversion
    ------------------------------------------------
    1) Swiss Franc
    2) British Pound
    3) Japanese Yen
    4) Canadian Dollar
    5) Euro
    6) Exit the Program

    Enter Your Choice (1-6): 3
    Enter the Amount: 1000


    1000 Japanese Yen = 8.1 US Dollars

    ------------------------------------------------
    1) Swiss Franc
    2) British Pound
    3) Japanese Yen
    4) Canadian Dollar
    5) Euro
    6) Exit the Program

    Enter Your Choice (1-6): 9
    9 is an invalid selection. Try again!

    ------------------------------------------------
    1) Swiss Franc
    2) British Pound
    3) Japanese Yen
    4) Canadian Dollar
    5) Euro
    6) Exit the Program

    Enter Your Choice (1-6): 6
    Goodbye.

  5. #5
    Used Registerer jdinger's Avatar
    Join Date
    Feb 2002
    Posts
    1,065
    ob, are you completely NOT understanding what everyone has told you? All that you are posting is an explanation of what the program should do and an example of possible output. No one here is going to do your homework for you, and reposting this same message isn't winning you any points either.

    If you are stuck with a problem in your code then post the CODE you have so far and what you don't understand about it. Then we'll be happy to help you in that area.

  6. #6
    Registered User
    Join Date
    Dec 2001
    Posts
    421
    yeah his question is:

    "i'm too stupid to learn, i'm too stupid to find things out for myself and give things a go, i dont know how to read other peoples posts and adhere to their advice, so can you please do my homework for me so i can join the ranks of yet another moron student who passes a subject without knowing anything about it!?"
    Quidquid latine dictum sit, altum sonatur.
    Whatever is said in Latin sounds profound.

  7. #7
    Registered User
    Join Date
    Oct 2001
    Posts
    2,934
    You can tell they read the posting guidelines. Which rule didn't they break???

Popular pages Recent additions subscribe to a feed