Case In C
main()
{
int n;
{
clrscr();
printf("\n Enter Any Number...");
scanf("%d",&n);
switch(n)
{
case 1:
printf("Tne Number Is One");
break;
case 2:
printf("The Number Is Two");
break;
}
getch();
}
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment