int printf vvedite nN scanf while if 10 10 printf 8-naya ss else print

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
{int N;
printf("vvedite N\nN=");
scanf ("%d",&N);
while (N>0)
if ((N%10)<8) N=N%10;
printf("8-naya ss\n");
else printf("ne 8-naya ss\n");
system ("pause");
return 0;
}