hh
<iostream>
using namespace std;
int main()
{
int id, i;
char vote;
string name[2];
for (i=0; i<=2; i++)
{
cout<<"STUDENTS
cout<<"--------
cout<<"Enter Your ID Number"<<endl;
cin>>id;
cout<<"Enter Your Name"<<endl;
cin>>name[i];
cout<<" "<<endl;
switch (id)
{
case 6363:
if (name[i] == "alex")
{
cout<<"STUDENT REG. DETAILS"<<endl;
cout<<" "<<endl;
cout<<"--------
cout<<"NAME: Alex John"<<endl;
cout<<"DOB: 23/05/
cout<<"SEX: Male "<<endl;
cout<<"LEVEL: 300"<<endl;
cout<<"COURSE: Computer Science"<<endl;
cout<<"--------
}
else
{
cout<<"Name Error "<<endl;
}
break;
case 6993:
if (name[i] == "amina")
{
cout<<"STUDENT REG. DETAILS"<<endl;
cout<<" "<<endl;
cout<<"--------
cout<<"NAME: Amina Bakura"<<endl;
cout<<"DOB: 3/12/
cout<<"SEX: Female "<<endl;
cout<<"LEVEL: 100 "<<endl;
cout<<"COURSE: TeleCommunicati
cout<<"--------
}else
{
cout<<"Name Error "<<endl;
}
break;
case 8163:
if (name[i] == "dahiru")
{
cout<<"STUDENT REG. DETAILS"<<endl;
cout<<" "<<endl;
cout<<"--------
cout<<"NAME: Dahiru Ahmad"<<endl;
cout<<"DOB: 20/01/
cout<<"SEX: Male "<<endl;
cout<<"LEVEL: 100"<<endl;
cout<<"COURSE: Software Engineering"<<e
cout<<"--------
}
else
{
cout<<"Name Error "<<endl;
}
break;
}
}
}