c_winter_2019/main.c

26 lines
612 B
C
Raw Permalink Normal View History

2020-01-31 14:49:37 +01:00
#include <stdio.h>
int main(void) {
char input_character1;
char input_character2;
char input_character3;
char input_character4;
char input_character5;
printf("Char 1");
scanf("%c", &input_character1);
printf("Char 2");
scanf("\n%c", &input_character2);
printf("Char 3");
scanf("\n%c", &input_character3);
printf("Char 4");
scanf("\n%c", &input_character4);
printf("Char 5");
scanf("\n%c", &input_character5);
printf("%d %d %d %d %d\n", input_character1, input_character2, input_character3, input_character4, input_character5);
return 0;
}