Write a program to enter a week number(1 to 4) and print the week days (Monday to Thursday) using if else if.
Answers
Answered by
0
Answer:
#include <stdio.h>
#include <canio.h>
Main()
{
int num;
printf("enter the num %d", num) ;
scanf("%d", &num) ;
if(num>4)
{
printf("the day is present") ;
else
printf("enter the wrong number") ;
}
}
Similar questions