프로그램 좀 도와주세요
율아
2023.04.01
#include stdio.h
int count=0;
int add(int a , int b);
int main(void)
{
while(1)
{
int a,b;
printf(정수 2개를 입력하시오. );
scanf(%d %d , &a,&b);
if(a==0 && b==0)
break;
printf(연산 결과 : %d \n, add(a,b));
}
printf(총 %d 연산 하였습니다. \n, count);
return 0;
}int add(int a, int b)
{
count++;
return a*b;
}
결과는 나오지만... 한번씩 밀려서 결과가 나오는데 좀 도와주세요 ..정상적으로 나오게 ..ㅠㅠ ;;
-
티나
밀린다는게 무슨뜻이신지;