#include<stdio.h>
int main()
{
int choice;
printf("\n Enter a choice: ");
scanf("%d",&choice);
switch(choice)
{
case 1:
printf("\n ***The ptype is Yearly***");
break;
case 2:
printf("\n ***The ptype is Half-Yearly***");
break;
case 3:
printf("\n The ptype is Monthly***");
break;
default:
printf("\n ***Wrong input***");
break;
}
return 0;
}
0 Comments