Assessment Activity ( qbasic) program
1. Write a program to display a menu as shown below:
1.5" September
2. 26 January
3. 7 April
enter your choice :
print the message as shown in the table given below, according to the choice entered:
choice entered | Message
1 | teachers day
2 | republic day
3 | world health day
Attachments:
![](https://hi-static.z-dn.net/files/d9d/9c791bff53655df329221f04aa544087.jpg)
Answers
Answered by
2
Answer:
Made by C language ...
Explanation:
#include<stdio.h>
void main(void){
int option;
printf("Enter the choice : ");
scanf("%d",&option);
if (option==1){
printf("Teachers day ");
}else if(option==2){
printf("Republic day ");
}else if(option==3){
printf("World health day ");
}else
printf("Invalid Choice ");
}
Eng : Hisham Raid Abualhaj
Similar questions