2013년 2월 20일 수요일

3일차 숙제 ㅠㅠ

public class WhileNested {

public static void main(String[] args) {

// int i=0;

// while (i<5) {
// System.out.print("★");
//i++;

//}
//System.out.println();
/*
* ★★★★★
* ★★★★★
* ★★★★★
* ★★★★★
* ★★★★★
*/
/*i=0;

while (i<5){
i++;
System.out.print("★");
System.out.println();
}
System.out.println("-------------");

i=0;
while (i<5){

int i1=0;
while (i1<5) {
System.out.print("★["+i+","+i1+"]");
i1++;

}

i++;
System.out.println();
}*/
/*
*☆★★★★
*★☆★★★
*★★☆★★
*★★★☆★
*★★★★☆
*/
int a=0;
int b=0;
String msg=" ";
while(a<0){

if((a+1)*b==a*(b+1)){
System.out.println();msg="☆";
}else{
msg="★";
}

System.out.print(msg);
a++;

}
}
}                    
------------------------------------------
이별은 누구별 ㅡㅡ

아옹 ㅠㅠㅠㅠㅠㅠㅠㅠㅠㅠㅠ


댓글 5개:

국정원의 댓글 공작을 지탄합니다.

대학원생의 투고 지도 ④ (완결) — 논문의 수준이란 무엇인가: 사다리와 사분위, 첫 논문 전략

완결편이다. "논문 수준"이라는 말을 해부하고, 에듀테크 석사생의 첫 논문 전략으로 마친다. 학위논문과 학술지 논문은 다른 장르다 먼저 가장 흔한 혼동부터. 학위논문(thesis)은 "내가 연구를 수행할 줄 안다...