18 lines
338 B
C
18 lines
338 B
C
#include "stdio.h"
|
|
|
|
int znak(){
|
|
|
|
char in;
|
|
printf("Zadaj znak:");
|
|
scanf("%c", &in);
|
|
switch (in) {
|
|
case 'a': printf("Volba a.\n");
|
|
case 'b': printf("Volba b.\n");
|
|
case 'c': printf("Volba c.\n");
|
|
break;
|
|
default:
|
|
printf("Nevybral si si a/b/c.\n");
|
|
}
|
|
|
|
return 0;
|
|
} |