include stdio include stdlib int main void int printf vvedite nN scanf

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
#include <stdio.h>
#include <stdlib.h>
int main(void)
{int N;
printf("vvedite N\nN=");
scanf ("%d",&N);
while (N>10)
{
if ((N%10)<8) N=N/10; }
printf("8-naya ss\n");
{
if ((N%10)>=8) N=N/10; }
printf("ne 8-naya ss\n");
system ("pause");
return 0;
}