Advertisement

SWITCH BASE PROGRAM

#include<stdio.h>
#include<conio.h>
void main()
{
clrscr();
char q,w,e,r,t;
int a;
printf("WELLCOME TO KBC GAME\n\n\n\n");
printf("\nwho many mb in 1gb\n\n");
printf("1. 1022mb\t");
printf("2. 1024mb\t\n\n");
scanf("%d" ,&a);
switch (a)
//never use : or;
{
case 2:
// there use only : and in default
printf("\nyour ans is correct");
break;
default:
printf("your ans is incorrect");
}
getch();
{
clrscr();
printf("how many eyes in spider\n\n");
printf("1.\t8 eyes\t");
printf("2.\t3 eyes\n\n");
scanf("%d" ,&a);
switch (a)
{
case 1:
printf("your ans is correct");
break;
default:
printf("your ans isincorrect");
}
getch();
{
clrscr();
printf("2*6=?\n\n");
printf("1.\t4\t");
printf("2. \t12\n\n");
scanf("%d" ,&a);
switch (a)
{
case 2:
printf("your ans correct");
break;
default:
printf("your ans incorrect");
}
getch();
{
clrscr();
printf("which wwe superstar nick name death man\n\n");
printf("1.\tHHH\t");
printf("2.\tundertaker\n\n");
scanf("%d" ,&a);
switch (a)
{
case 2:
printf("your ans is correct");
break;
default:
printf("your ans incorrect");
}
getch();
{
clrscr();
printf("world first mobile manufactur company\n\n");
printf("1.\tnokia\t");
printf("2.\tmotorola\n\n");
scanf("%d" ,&a);
switch (a)
{
case 2:
printf("your ans is correct");
break;
default:
printf("your ans incorrect");
}
getch();
{
clrscr();
printf("which company product is use for communication in all over world  army \n\n");
printf("1.\tmotorola\t");
printf("2.\tnokia\n\n");
scanf("%d" ,&a);
switch (a)
{
case 1:
printf("your ans is correct");
break;
default:
printf("your ans incorrect");
}
}
getch();
}
}
}
}
}

Post a Comment

1 Comments

  1. Laboratory Space for Lease presents unique commercial leasing issues that landlords and tenants should anticipate if they are to achieve successful leases. A diverse industry group, biotechnology companies encompass pharmaceuticals, life sciences, medical devices, medical diagnostics, bioinformatics, biotechnology, and other biosciences and related services companies.

    ReplyDelete

USE ANONYMOUS PROFILE IF YOU WANT D'NT SHARE EMAIL