convert this to " if " statement
Attachments:
Answers
Answered by
2
main()
{
int m;
clrscr();
printf("Enter any month :");
scanf('%d",&m);
if(m==1||m=3||m==5||m==7||m==8||m==10||m==12)
printf("31 days");
else if(m==4||m==6||m==9||m==11)
printf("30 days");
else if(m==2)
printf("28/29 days");
getch();
}
hope this will help u
man7190:
thanks
Similar questions