[24.05.28] 내일배움캠프 30일차 JAVA TIL - 직사각형 별찍기
2024. 5. 29. 09:11ㆍT.I.L
오늘 한 일
- 2주차 엔티티, myselectshop 실습 구현
- 11시 강의 듣기
import java.util.Scanner;
class Solution {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int b = sc.nextInt();
for(int i=0;i<b;i++){
for(int j=0;j<a;j++){
System.out.print("*");
}
System.out.println();
}
}
}
'T.I.L' 카테고리의 다른 글
[24.05.31] 내일배움캠프 32일차 JAVA TIL - spring security / usercontroller (0) | 2024.06.03 |
---|---|
[24.05.29] 내일배움캠프 31일차 JAVA TIL - SpringSecurity (0) | 2024.05.29 |
[24.05.27] 내일배움캠프 29일차 JAVA TIL - 행렬의 덧셈 (0) | 2024.05.28 |
[24.05.24] 내일배움캠프 28일차 JAVA TIL - Entity (0) | 2024.05.24 |
[24.05.23] 내일배움캠프 27일차 JAVA TIL - 프로그래머스 약수의 개수와 덧셈 (0) | 2024.05.24 |