pvjc22/du4/test.c
Yaroslav Orlianskyi f0d910c22f SAD
2022-03-30 23:36:37 +02:00

18 lines
217 B
C

#include <stdio.h>
int main(){
char riadok[555];
int i, j = 0;
while(1){
riadok[i] = getchar();
if(riadok[i] == '\n')
break;
else
i++;
}
do{
printf("%c\n", riadok[j]);
j++;
}while(j < i - 2);
}