에러도 안뜨는데 왜 출력이 안될까요..ㅠ
댓걸
2023.04.01
#include stdio.hint gcd(int p, int q);int main(void)
{
int p,q;
printf(input the number :);
scanf(%d %d, &p, &q);gcd(p,q);
printf(%d, gcd(p,q));
}
int gcd( int p, int q)
{
int r;
if((r= p&q)==0)
return q;
else
return gcd(q,r);
}도대체 뭐가...ㅠㅠ