#include<stdio.h>int main()
{
int length, height; double area; char answer;
while (1) {
printf("¹Øº¯ÀÇ ±æÀÌ = ");
scanf("%d", &length); //¹Øº¯ ÀúÀå
printf("³ôÀÌ = ");
scanf("%d", &height); //³ôÀÌ ÀúÀå
area=length*height/2.0; //³ÐÀÌ °è»ê
printf("ÀÔ·ÂÇÑ »ï°¢ÇüÀÇ ³ÐÀÌ´Â %.1lfÀÔ´Ï´Ù.\n", area);
printf("°è¼ÓÇϽðڽÀ´Ï±î? ");
scanf("%c", &answer);
if (answer!='Y' && answer!='y') break;
/* °è¼ÓÇÏ°Ú´À³Ä´Â ´äÀÌ Y³ª y°¡ ¾Æ´Ï¸é break; */
}
return 0;
}
ÀÌ°Ô ¿Ö ¾ÈµÇÁÒ??