본문 바로가기
Beakjoon&프로그래머스/Java

[백준/Java] 11022번 A+B - 8

by 현장 2022. 10. 27.

-Code

import java.util.Scanner;

public class _11022 {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int t = sc.nextInt();
		for(int i = 0; i < t; i++) {
			int a = sc.nextInt();
			int b = sc.nextInt();
			
			System.out.println("Case #" + (i + 1) + ": " + a +" + " + b + " = " + (a + b));
		}
	}

}