난수 문제...!
별빛
2023.04.01
난수 문제 푸는데자꼬 경고가 나와서 ..질문 요약 :무엇때문에 경고가 뜨는지,해결방법질문 내용 : 어디를 고쳐야할까요 .. ?
#includestdio.h
#includestdlib.h
int main()
{
int a=0,b=0;
while(b!=5)
{
a=rand();
if(a99)
{
printf(%d\n,a);
b++;
}
}
system(pause);
}