Hi, I am having problem in getting a menu' on the screen by using a function. At the compiling time I do not get any error but at the running one it doesn't produce any result. Here the code:
#include<stdio.h>
void day_menu();
int main()
{
day_menu;
return 0;
}
void day_menu()
{
printf("Case 1: Monday\n");
printf("Case 2: Tuesday\n");
printf("Case 3: Wedensday\n");
printf("Case 4: Thursday\n");
printf("Case 5: Fryday\n");
printf("Case 6: Saturday\n");
printf("Case 7: Sunday\n");
printf("Case 8: Exit\n");
return;
}
Is there anyone able to tell me the problem?
Thank you very much