I have a task. The user has to input 3 numbers in this format (x;y;z).
X, y, and z are 3 integer numbers separated by semicolons. The program gets them like a string and has to convert them to three separate integers.
Input: 22;33;55
Output:
Number1 = 22
Number2 = 33
Number3 = 55
The best way to do this would be with string. Because I have to validate whether the data was input correctly or not.
Simple?