Can any one help me please. I need to perform any operation on such type of input format:
The input is a string consisting of numbers separated by space like
10 20 200 120 50
I need to print largest number in the array.
I am unable perform operations since in strings s[3] means it takes fourth value
that is 2 but how to separate 10 and 20 and then compare or perform some arithmetic operation.