CodePudding user response:
Sample input format does not conform to with him, someone else is a number add a space after the input plus the numberCodePudding user response:
Input a line, and then the split, then output the resultCodePudding user response:
String x;
X=Console. ReadLine ();
String [] array=x.S plit (");
Console. WriteLine (int. Parse (array [0]) + int. Parse (array [1]));
Console.ReadLine();