Nr jag kr programmet visas bara printf funktionerna fre switch-satsen, varfr?
Kod:
#include <stdio.h>
int main()
{
int menu;
printf("Welcome to menu selector \n");
printf("Choose your option \n");
printf("1 = See information \n");
printf("2 = quit \n");
scanf("%d", &menu);
switch(menu) {
case1: printf("Meddelande\n");
break;
case2: return 0;
break;}
}