Playground/자바문제집

[백준] 11022번

미숫가루설탕많이 2023. 1. 19. 22:16
import java.util.Scanner;

public class Main {
   public static void main(String[] args) {
      Scanner sc = new Scanner(System.in);
      int num = sc.nextInt();

      for (int i = 1; i <= num; i++) {
         int x = sc.nextInt();
         int y = sc.nextInt();

         System.out.println("Case #" + i + ": " + x + " + " + y + " = " + (x + y));
      }
      sc.close();
   }
}

'Playground > 자바문제집' 카테고리의 다른 글

[백준] 2439번  (0) 2023.01.19
[백준] 2438번  (0) 2023.01.19
[백준] 11021번  (0) 2023.01.19
[백준] 1152번  (0) 2023.01.19
[백준] 25304번  (0) 2023.01.08