TOPIC
Run time Error it says..
Tahsin09 asked 5 years ago
import java.util.Scanner;
public class Main {
public static void main(String[] args) { Scanner sc = new Scanner(System.in); while (sc.hasNextLine()) { String splitA[] = sc.nextLine().split(" "); int i = Integer.parseInt(splitA[0]); int j = Integer.parseInt(splitA[1]); System.out.println(Math.abs(i - j)); } }
}
This topic was solved and cannot recieve new replies.