MIPI_AdvancedC_FRTK/Lect3/19.c
2024-11-14 08:45:50 +03:00

19 lines
278 B
C

#include <stdio.h>
char s1[] = "Hello ";
char s2[] = "world!";
int main(void)
{
char c;
printf("===Enter q to quit===\n");
do
{
printf("Enter a symbol\n");
scanf("%c", &c);
printf("%c\n", c);
}
while (c != 'q');
return 0;
}