Skip to content

Commit

Permalink
adding a hello file
Browse files Browse the repository at this point in the history
  • Loading branch information
Sama2911arth committed Nov 17, 2022
1 parent 980c573 commit d947710
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions 5.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#include <stdio.h>
int main()
{
int day_of_month;
printf("enter the date(1-30) :");
scanf("%d",&day_of_month);

switch(day_of_month)
case 1: printf("the day is tuesday\n");
break
case 2: printf("the day is wednesday\n");
case 3: printf("the day is thursday\n");
break
case 4: printf("the day is friday\n");

return 0;}

0 comments on commit d947710

Please sign in to comment.