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
22
23
24
25
26
27
#include <stdio.h>
#include <stdlib.h>
int main(void)
{int n,g,k = 1, i = 1;
printf("vvedite N\nn=");
scanf ("%d",&n);
n = g;
scanf ("%d",&g);
while (n>0)
{ if ((n/10) > 0) k+=0;
}
while (g>0)
{
if ((g%10)<8) i+=0;}
if (k==i) printf("8-naya ss\n");
else printf("ne 8-naya ss\n");
system ("pause");
return 0;
}