C Program for currency conversion

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Concem01
    New Member
    • Aug 2007
    • 2

    C Program for currency conversion

    Hello,

    I am a student a UMUC online and am currently taking C programming. I have never done any programming at all and was wondering if someon can help me with my class assignment.

    the assignment is that I write a C program that displays the title "Currency Conversion," and then write the names of five currencies and their equivalents to the US dollar.

    The five currencies and their current exchange rate are;

    1 Yen = 0.008431
    1 Euro = 1.3698
    1 Can $ = 0.9437
    1 U.K. = 2.0336
    1 AU$ = 0.8509

    Any help in getting me started is appreciated.
  • JosAH
    Recognized Expert MVP
    • Mar 2007
    • 11453

    #2
    Greetings,

    I moved your thread over to the C/C++ forum where your question can be better
    answered. Welcome to TSDN.

    kind regards,

    Jos

    Comment

    • JosAH
      Recognized Expert MVP
      • Mar 2007
      • 11453

      #3
      Originally posted by Concem01
      Hello,

      I am a student a UMUC online and am currently taking C programming. I have never done any programming at all and was wondering if someon can help me with my class assignment.

      the assignment is that I write a C program that displays the title "Currency Conversion," and then write the names of five currencies and their equivalents to the US dollar.

      The five currencies and their current exchange rate are;

      1 Yen = 0.008431
      1 Euro = 1.3698
      1 Can $ = 0.9437
      1 U.K. = 2.0336
      1 AU$ = 0.8509

      Any help in getting me started is appreciated.
      Make that six currencies (conceptually):

      1 US$ = 1.0

      All you have to implement now is from currency A to the US$ and from the US$
      to currency B: A ---> US$ ---> B

      Doing it this way you need 6+6 conversion function instead of 6x6 conversion
      functions to get from A to B.

      kind regards,

      Jos

      Comment

      • Concem01
        New Member
        • Aug 2007
        • 2

        #4
        Thanks Jos. I appreciate your help.

        Comment

        Working...