please help me to solve this question..please help me

Discussion in 'Programming' started by capricon, Sep 18, 2009.

  1. capricon

    capricon New Member

    Joined:
    Sep 18, 2009
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    I have an input file with the following format, which could contain multiple commands:
    Command,value1[,value2,…,valueN]

    The list of commands that you must be able to handle include:
    - Min
    - Max
    - Sum
    - Multiply

    The results of your program should display the following information:

    Command
    Values
    Result

    Thus, if my input command/file contains

    sum,1,2

    the result should be something like

    Command: sum
    Values: 1,2
    Result: 3
    :nonod:
     
  2. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,375
    Likes Received:
    388
    Trophy Points:
    83
    Moved to programming forum
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice