일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- python
- 함수
- window
- document
- 자바스크립트
- 객체
- sql injection
- 사칙연산
- github
- blind sql injection
- 백준 알고리즘
- property
- xss game 풀이
- lord of sql injection
- 메소드
- 김성엽 대표님
- jQuery
- IF문
- element 조회
- suninatas 풀이
- 백준 파이썬
- 조건문
- 배열
- xss game
- 포인터
- burp suite
- Pwndbg
- 파이썬
- htmlspecialchars
- object
Archives
- Today
- Total
power-girl0-0
구구단 짜기 본문
728x90
이중 for문을 활용하여 구구단 짜기 입니다.
소스↓
public class gugudan {
public static void main(String[] args) {
for(int i=1; i<=9; i++)
{
for(int j=2; j<=9; j++)
{
System.out.print(j+"*"+i+"="+i*j+"\t");
}
System.out.println();
}
}
}
결과값 ↓
728x90
'언어 > Java' 카테고리의 다른 글
추상클래스와 인터페이스 (0) | 2020.04.16 |
---|---|
interface를 이용하여 TV프로그램짜기 (0) | 2020.04.16 |
간단한 Bank 프로그램 구현하기 (0) | 2020.04.13 |
입력받은 값 중 가장 큰 수 출력하기 (0) | 2020.03.31 |
입력값을 받아 구구단 출력 (0) | 2020.03.31 |
Comments