Current location - Recipe Complete Network - Complete cookbook of home-style dishes - Weekly menu plan
Weekly menu plan
# include & ltstdio.h & gt

# include & ltstdlib.h & gt// I don't know the name of the dish that follows. Fill it in by yourself and change the corresponding place to the name you want. . }

int main()

{

int u,I,j;

Char cc[80], caip[][80]={ "Monday: shredded pork in fish sauce+rape+steamed corn", "Tuesday: shredded pork in fish sauce+rape+steamed corn", "Wednesday: shredded pork in fish sauce+rape+steamed corn", "Thursday: shredded pork in fish sauce+rape+steamed corn",

Printf ("Enter the day of the week: \ n");

scanf("%d ",& ampu);

Switch (u)

{

case 1:printf("%s\n ",caip[0]); Break;

Case 2: printf("%s\n ",caip [1]); Break;

Case 3: printf("%s\n ",caip [2]); Break;

Case 4: printf("%s\n ",caip [3]); Break;

Case 5:printf("%s\n ",caip [4]); Break;

Case 6:printf("%s\n ",caip [5]); Break;

Case 7:printf("%s\n ",caip [6]); Break;

Default: printf ("No recipes! \ n ");

}

System ("suspended");

}