I have a program to code which would take several lines of input from user (a fruit name, it's price per kg and the number of kgs sold). Each seperated by a space. It would then output the total money made and the name of the fruit that made maximum sales. And, it would use sentinel "Stop" to halt the program.
Now, I know this is fairly easy to write. But, I have never used strings and I don't know where to begin. Hints?