Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 6

//FIND COURSE DETALS OF DIFFERENT INSTUTES

#include<iostream.h>

#include<conio.h>

void main()

clrscr();

long unsigned int a,b,i,j;

char ch;

cout<<"\n Enter the instution you want to search \n1=Aptech\n2= NIIT \n


3=Unitech";

cin>>a;

switch(a)

case 1:cout<<"\n Enter the course you want to search \n1/2/3";

cin>>b;

switch(b)

case 1:cout<<"\n course-c\n fee-3000 \n do you want to join?(y/n)";

cin>>ch;

if(ch=='y')

cout<<"\n enter your ID no\n";

cin>>i;

cout<<"\n Enter your bank account no.\n";

cin>>j;

cout<<"\n You have been enrolled in our institution &your registration


no is \t"<<2*i-100;
}

break;

case 2:cout<<"\n course-c++\n fee-4000 \n do you want to join?(y/n)";

cin>>ch;

if(ch=='y')

cout<<"\n enter your ID no\n";

cin>>i;

cout<<"\n Enter your bank account no.\n";

cin>>j;

cout<<"\n You have been enrolled in our institution &your registration


no is \t"<<2*i-100;

break;

case 3:cout<<"\n course-core java\n fee-4000 \n do you want to


join?(y/n)";

cin>>ch;

if(ch=='y')

cout<<"\n enter your ID no\n";

cin>>i;

cout<<"\n Enter your bank account no.\n";

cin>>j;

cout<<"\n You have been enrolled in our institution &your registration


no is \t"<<2*i-100;

break;
default:cout<<"\n You have entered an invalid coice";

break;

case 2:cout<<"\n Enter the course you want to search \n1/2/3";

cin>>b;

switch(b)

case 1:cout<<"\n course-DNIIT\n fee-3000 \n do you want to join?(y/n)";

cin>>ch;

if(ch=='y')

cout<<"\n enter your ID no\n";

cin>>i;

cout<<"\n Enter your bank account no.\n";

cin>>j;

cout<<"\n You have been enrolled in our institution &your registration


no is \t"<<2*i-100;

break;

case 2:cout<<"\n course-GNIIT\n fee-4000 \n do you want to join?


(y/n)";

cin>>ch;

if(ch=='y')

cout<<"\n enter your ID no\n";

cin>>i;

cout<<"\n Enter your bank account no.\n";


cin>>j;

cout<<"\n You have been enrolled in our institution &your registration


no is \t"<<2*i-100;

break;

case 3:cout<<"\n course-ECOM\n fee-4000 \n do you want to join?


(y/n)";

cin>>ch;

if(ch=='y')

cout<<"\n enter your ID no\n";

cin>>i;

cout<<"\n Enter your bank account no.\n";

cin>>j;

cout<<"\n You have been enrolled in our institution &your registration


no is \t"<<2*i-100;

break;

default:cout<<"\n You have entered an invalid coice";

} break;

case 3:cout<<"\n Enter the course you want to search \n1/2/3";

cin>>b;

switch(b)

case 1:cout<<"\n course-MS-OFFICE\n fee-3000 \n do you want to join?(y/n)";

cin>>ch;

if(ch=='y')
{

cout<<"\n enter your ID no\n";

cin>>i;

cout<<"\n Enter your bank account no.\n";

cin>>j;

cout<<"\n You have been enrolled in our institution &your registration


no is \t"<<2*i-100;

break;

case 2:cout<<"\n course-Tally\n fee-4000 \n do you want to join?(y/n)";

cin>>ch;

if(ch=='y')

cout<<"\n enter your ID no\n";

cin>>i;

cout<<"\n Enter your bank account no.\n";

cin>>j;

cout<<"\n You have been enrolled in our institution &your registration


no is \t"<<2*i-100;

break;

case 3:cout<<"\n course-Oracle\n fee-4000 \n do you want to join?


(y/n)";

cin>>ch;

if(ch=='y')

cout<<"\n enter your ID no\n";


cin>>i;

cout<<"\n Enter your bank account no.\n";

cin>>j;

cout<<"\n You have been enrolled in our institution &your registration


no is \t"<<2*i-100;

break;

default:cout<<"\n You have entered an invalid coice";

}break;

default:cout<<"\n You have entered an invalid coice";

You might also like