06/06/30 숙제

DEVELOP/C 2006. 6. 30. 19:54

int a=9;
printf("내가 가장 좋아하는 숫자는 : %d",a);


printf("월드컵은\n2002년에\n개최되었습니다.");

int height, weight, cha;
printf("키:");
scanf("%d",&height);
printf("몸무게:");
scanf("%d",&weight);
cha=height-weight;
printf("키에서 몸무게를 뺀 값은 %d입니다.",cha);

printf("두 정수값을 입력하세요 :");
scanf("%d%d",&a, &b);
hap=a+b;
printf("두 정수의 합은 %d입니다.",hap);



AND