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

capricon's Avatar, Join Date: Sep 2009
Newbie Member
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
0
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
Moved to programming forum