https://www.acmicpc.net/problem/11022
백준 11021번과 동일하다.
import java.util.Scanner;
public class Main{
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int t = sc.nextInt();
for(int i = 1; i <= t; i++){
int a = sc.nextInt();
int b = sc.nextInt();
System.out.println("Case #" + i + ": " + a + " + " + b + " = " + (a+b));
}
sc.close();
}
}