Documentos de Académico
Documentos de Profesional
Documentos de Cultura
}
else
{
// error
cout<<"Error: The queue is full. Cannot add
patient:";
}
OutputPatient(&p);
cout << "Press any key";
getch();
}
break;
OutputPatient(&p);
cout << "Press any key";
getch();
}
break;
while (MenuChoice != 4)
{
// clear screen
clrscr();
// print menu
cout << "Welcome to Sanjeevani City Hospital";
cout << "\nPlease enter your choice:";
for (i = 0; i < 3; i++)
{
// write menu item for department i
cout << "\n " << (i+1) << ": " <<
departments[i].DepartmentName;
}
cout << "\n 4: Exit";
// get user choice
MenuChoice = ReadNumber();
// is it a department name?
if (MenuChoice >= 1 && MenuChoice <= 3)
{
// call submenu for department
// (using pointer arithmetics here:)
DepartmentMenu (departments + (MenuChoice-1));
}
}
}
This is to certify that Abhishek Sinha of class XII-
‘Science’, Kendriya Vidyalaya Kumbhirgram,
Assam has successfully completed his project in
games and sports subject as prescribed by CBSE in
the year 2016-17.
Date:
Registration No.:
Signature (Examiner)
INDEX
Compact Disk
RAM: 2GB
SOFTWARE REQUIRED:-
Operating System: Windows 7 Ultimate
(SESSION 2016-2017)