1.while
while (condition) { // execute code as long as condition is true } //condition이 true인 동안 실행된다.
2.for
for ( 초기화 , 조건, 증감문) { // ... 루프 본문 ... }