2739번
-
[백준] 2739번: 구구단코딩(Coding)/백준 문제풀이 2021. 1. 4. 16:36
링크: www.acmicpc.net/problem/2739 2739번: 구구단 N을 입력받은 뒤, 구구단 N단을 출력하는 프로그램을 작성하시오. 출력 형식에 맞춰서 출력하면 된다. www.acmicpc.net 구구단 성공분류 문제 N을 입력받은 뒤, 구구단 N단을 출력하는 프로그램을 작성하시오. 출력 형식에 맞춰서 출력하면 된다. 입력 첫째 줄에 N이 주어진다. N은 1보다 크거나 같고, 9보다 작거나 같다. 출력 출력형식과 같게 N*1부터 N*9까지 출력한다. 문제접근 해당 문제는 입력받은 n에대해 구구단을 출력하는 문제이다. 여기서 요구하는 것은 for 혹은 while로 반복문을 사용할 수 있는가 이다. 정말 간단하게 반복문을 사용해 해결이 가능하다. 코드 """ 백준 알고리즘 2739번: 구구단 h..