Overblog
Edit post Follow this blog Administration + Create my blog
Welcome to Samiworld Tech Solution,E-Learning and Web Designing Company/Softwares 08101632018

/ Samuel Dauda A.K.A Samiboy 08101632018. De-great Hacker in Marama, Hawul L.G.A Borno State

Federal Polytechnic Mubi NACOSS

Posted on June 24 2019 by Federal Polytechnic Mubi Adamawa State

hh

using namespace std; int main() { int id, i; char vote; string name[2]; for (i=0; i<=2; i++) { cout<<"STUDENTS REGISTRATION DASHBOARD"<>id; cout<<"Enter Your Name"<>name[i]; cout<<" "<

<iostream>
using namespace std;
int main()
{
int id, i;
char vote;
string name[2];
for (i=0; i<=2; i++)
{
cout<<"STUDENTS REGISTRATION DASHBOARD"<<endl;
cout<<"------------------------------------------"<<endl;
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<<"------------------------------------------"<<endl;
cout<<"NAME: Alex John"<<endl;
cout<<"DOB: 23/05/1993"<<endl;
cout<<"SEX: Male "<<endl;
cout<<"LEVEL: 300"<<endl;
cout<<"COURSE: Computer Science"<<endl;
cout<<"------------------------------------------"<<endl;
}
else
{
cout<<"Name Error "<<endl;

}
break;
case 6993:
if (name[i] == "amina")
{
cout<<"STUDENT REG. DETAILS"<<endl;
cout<<" "<<endl;
cout<<"------------------------------------------"<<endl;
cout<<"NAME: Amina Bakura"<<endl;
cout<<"DOB: 3/12/1983"<<endl;
cout<<"SEX: Female "<<endl;
cout<<"LEVEL: 100 "<<endl;
cout<<"COURSE: TeleCommunication"<<endl;
cout<<"------------------------------------------"<<endl;
}else
{
cout<<"Name Error "<<endl; 
}
break;
case 8163:
if (name[i] == "dahiru")
{
cout<<"STUDENT REG. DETAILS"<<endl;
cout<<" "<<endl;
cout<<"------------------------------------------"<<endl;
cout<<"NAME: Dahiru Ahmad"<<endl;
cout<<"DOB: 20/01/1992"<<endl;
cout<<"SEX: Male "<<endl;
cout<<"LEVEL: 100"<<endl;
cout<<"COURSE: Software Engineering"<<endl;
cout<<"------------------------------------------"<<endl;
}
else
{
cout<<"Name Error "<<endl; 
}
break;
}
}
}

Comment on this post