..::PL LAB FINAL PROJECT::..
♦DHAKA MEDICAL SERVICE♦
{CODING}
#include <stdio.h>
#include<conio.h>
#include<string.h>
#include <stdlib.h>
void men()
{
system("color e2");
printf("\n\n\t\t####################################\n");
printf(" \t\t ..::DHAKA MEDICAL SERVICE::.. ");
printf("\n\t\t####################################\n\n");
printf("\n");
printf("\t\t 1) Hospitals In Dhaka\n");
printf(" \n\t\t 2) Blood Bank \n");
printf("\n\t\t 3) Ambulance Services In Dhaka \n");
printf("\n\t\t 4) Exit \n");
printf("\n \t\t >>>Select Service: ");
}
void blood()
{
printf("\t ___________________________________\n");
printf("\t ..::Blood Bank::.. \n");
printf("\t ___________________________________\n\n");
}
void hos()
{
printf("\t ___________________________________\n");
printf("\t ..::Hospitals In Dhaka City::.. \n");
printf("\t ___________________________________\n\n");
}
void amb()
{
printf("\t ___________________________________\n");
printf("\n\t..::Ambulance Services In Dhaka::.. \n");
printf("\t ___________________________________\n");
}
void hosp()
{
int input;
do
{
system("color 2e");
printf("\t ___________________________________\n");
printf("\t ..::Hospitals In Dhaka City::.. \n");
printf("\t ___________________________________\n\n");
printf( "\t1. Dhaka Medical College Hospital\n" );
printf( "\t2. Shaheed Sohrawardi Medicel College Hospital\n" );
printf( "\t3. Dhaka City General Hospital\n" );
printf( "\t4. BSMMU\n" );
printf( "\t5. Dhaka Child Hospital\n" );
printf( "\t6. National Heart Institute & Hospital\n" );
printf( "\t7. National Cancer Research Institute & Hospita\n" );
printf( "\t8. National Kidney Institute & Hospital\n" );
printf( "\t9. Kidney Foundation Bangladesh\n" );
printf( "\t10. Birdem General Hospital\n" );
printf( "\t11. ICDDRB\n" );
printf( "\t12. Govt. Unani & Ayurbedik Medical College & Hospital\n" );
printf( "\t13. Square Hospital\n" );
printf( "\t14. Apollo Hospital\n" );
printf( "\t15. Ibrahim Cardiac Hospital & Research Center\n" );
printf( "\t16. Ibn Sina Medical College & Hospital\n" );
printf( "\t17. United Hospital\n" );
printf( "\t18. Japan Bangladesh Friendship Hospital\n" );
printf( "\t19. Green Life Medical College & Hospital\n" );
printf( "\t20. Ispahani Islamia Eye Institute & Hospital\n" );
printf("\t ___________________________________\n\n");
printf( "\t21. >>Back To Main Menu<<\n" );
printf("\t ___________________________________\n\n");
printf( "\t\tSelection: " );
scanf( "%d", &input );
switch ( input )
{
case 1:
system("cls");
hos();
printf("\tName of Hospital:\n\tDhaka Medical College Hospital\n\tCatagory:\n\tGovt. Hospitals\n\tAddress:\n\tBokshi Bazar, 100 Ramna, Dhaka-1000.\n\tDhaka,Bangladesh.\n\t::ContactInfo::\n\tTel: 8626812-19\n\tFax: 8615919\n\tE-mail: info@dmc.edu.bd, dmc_principal@yahoo.com\n\tWebsite: www.dmc.edu.bd\n\n");
break;
case 2:
system("cls");
hos();
printf("\tName of Hospital:\n\tShaheed Sohrawardi Medicel College Hospital\n\tCatagory:\n\tGovt. Hospitals\n\tAddress:\n\tAt the side of National Cardiac Institute at Sher-E-Bangla Nagar.\n\tDhaka,Bangladesh\n\t::ContactInfo::\n\tTel: 9130800-19\n\n");
break;
case 3:
system("cls");
hos();
printf("\tName of Hospital:\n\tDhaka City General Hospital\n\tCatagory:\n\tGovt. Hospitals\n\tAddress:\n\tAt the side of Nayabazar Breeze area.\n\tNawab Iusuf Road, Nayabazar, Dhaka-1100.\n\t::ContactInfo::\n\tTel: 7390860\n\n");
break;
case 4:
system("cls");
hos();
printf("\tName of Hospital:\n\tBSMMU\n\tCatagory:\n\tGovt. Hospitals\n\tAddress:\n\tAt the North of National Museum at Shahbag circle.\n\tDhaka,Bangladesh.\n\t::ContactInfo::\n\tTel: 9661051-56\n\tE-mail: info@bsmmu.org\n\tWebsite: www.bsmmu.org\n\n");
break;
case 5:
system("cls");
hos();
printf("\tName of Hospital:\n\tDhaka Child Hospital\n\tCatagory:\n\tGovt. Hospitals\n\tAddress:\n\tAt 20-30 gauges (75 Feet) East of Shaymoli bus stand.\n\tDhaka,Bangladesh.\n\t::ContactInfo::\n\tTel: 8116061-62\n\n");
break;
case 6:
system("cls");
hos();
printf("\tName of Hospital:\n\tNational Heart Institute & Hospital\n\tCatagory:\n\tGovt. Hospitals\n\tAddress:\n\At 50 gauges (150 Feet) North from the Sohrawardi Medical College.\n\tSher-E-Bangla Nagar, Dhaka-1207.\n\t::ContactInfo::\n\tTel: 9122560\n\tFax: 8142986\n\n");
break;
case 7:
system("cls");
hos();
printf("\tName of Hospital:\n\tNational Cancer Research Institute & Hospital\n\tCatagory:\n\tGovt. Hospitals\n\tAddress:\n\At 50 gauges (150 Feet) North from National Infectious disease Hospital at Mahakhali.\n\tDhaka,Bangladesh.\n\t::ContactInfo::\n\tTel: 9880078\n\n");
break;
case 8:
system("cls");
hos();
printf("\tName of Hospital:\n\tNational Kidney Institute & Hospital\n\tCatagory:\n\tGovt. Hospitals\n\tAddress:\n\tAt the south of National Mental Health Institute.\n\tSher-E-Bangla Nagar, Dhaka.\n\t::ContactInfo::\n\tTel: 91365560-3\n\n");
case 9:
system("cls");
hos();
printf("\tName of Hospital:\n\tKidney Foundation Bangladesh\n\tCatagory:\n\tGovt. Hospitals\n\tAddress:\n\tPlot-5/2, Road-1, Section-2.\n\tMirpur,Dhaka,Bangladesh.\n\t::ContactInfo::\n\tTel: 8055827\n\tE-mail: rashid@bol-online.com\n\n");
break;
case 10:
system("cls");
hos();
printf("\tName of Hospital:\n\tBirdem General Hospita\n\tCatagory:\n\tGovt. Hospitals\n\tAddress:\n\tAt the North-East of the Shahbag Square and South of the National Broadcast Authority.\n\tDhaka,Bangladesh.\n\t::ContactInfo::\n\tTel: 8616641\n\n");
break;
case 11:
system("cls");
hos();
printf("\tName of Hospital:\n\tICDDRB\n\tCatagory:\n\tGovt. Hospitals\n\tAddress:\n\t200 gauges (600 Feet) far from Mahakhali Kacha Bazar.\n\tDhaka,Bangladesh.\n\t::ContactInfo::\n\tTel: 8806523-32\n\t\Fax: 8819133n\tWebsite: www.icddrb.org\n\n");
break;
case 12:
system("cls");
hos();
printf("\tName of Hospital:\n\tGovt. Unani & Ayurbedik Medical College & Hospital\n\tCatagory:\n\tGovt. Hospitals\n\tAddress:\n\tIt is 300 gauges (9000 Feet) south from Mirpur-10 circle.\n\tMirpur-13, Kafrul, Dhaka.\n\t::ContactInfo::\n\tTel: 8012048\n\n");
break;
case 13:
system("cls");
hos();
printf("\tName of Hospital:\n\tSquare Hospital\n\tCatagory:\n\t Private Hospitals(Square Hospital Ltd.)\n\tAddress:\n\t18/F, West Panthopath,\n\tDhaka,Bangladesh.\n\t::ContactInfo::\n\tTel: Tel: 8129338\n\t\Fax: 9118921n\n\tWebsite: www.squarehospital.com\n\n");
break;
case 14:
system("cls");
hos();
printf("\tName of Hospital:\n\tApollo Hospital\n\tCatagory:\n\t Private Hospitals\n\tAddress:\n\tPlot- 81, Block-E, Basundhara Residential Area, \n\tDhaka,Bangladesh.\n\t::ContactInfo::\n\tTel: Tel: 8401661\n\tFax: 8401679\n\tE-mail: info@apollodhaka.com\n\tWebsite: www.apollodhaka.com\n\n");
break;
case 15:
system("cls");
hos();
printf("\tName of Hospital:\n\tIbrahim Cardiac Hospital & Research Center\n\tCatagory:\n\t Private Hospitals\n\tAddress:\n\t122, Kaji Nazrul Islam Avenue (4th & 5th Floor), Shahbag,\n\tDhaka,Bangladesh.\n\t::ContactInfo::\n\tTel: Tel: 9671121\n\t\Fax: 9674030\n\tE-mail: info@brahimcardiac.org.bd\n\tWebsite: www.ibrahimcardiac.org.bd\n\n");
break;
case 16:
system("cls");
hos();
printf("\tName of Hospital:\n\tIbn Sina Medical College & Hospital\n\tCatagory:\n\t Private Hospitals\n\tAddress:\n\t1/1/B, Kallanpur,\n\tDhaka,Bangladesh.\n\t::ContactInfo::\n\tTel: Tel: 9010396\n\tFax: 9005595\n\tE-mail: E-mail: ismcdhaka@yahoo.com\n\tWebsite: www.ismc.ac.bd\n\n");
break;
case 17:
system("cls");
hos();
printf("\tName of Hospital:\n\tUnited Hospital\n\tCatagory:\n\t Private Hospitals\n\tAddress:\n\tPlot-15, Road-17, Gulshan,\n\tDhaka,Bangladesh.\n\t::ContactInfo::\n\tTel: Tel: 8836000\n\tFax: 8836446\n\tMob (Emergency): 01914-001234\n\tWebsite: www.uhlbd.com\n\n");
break;
case 18:
system("cls");
hos();
printf("\tName of Hospital:\n\tJapan Bangladesh Friendship Hospital\n\tCatagory:\n\t Private Hospitals\n\tAddress:\n\t55, Sat Masjid Road (Jhigatola Bus Stand),\n\tDhaka,Bangladesh.\n\t::ContactInfo::\n\tTel: Tel: 9672277\n\tFax: 9675674\n\tE-mail: info@jbfh.org.bd\n\tWebsite: www.jbfh.org.bd\n\n");
break;
case 19:
system("cls");
hos();
printf("\tName of Hospital:\n\tGreen Life Medical College & Hospital\n\tCatagory:\n\t Private Hospitals\n\tAddress:\n\t32, Bir Uttam K.M. Shafiullah Road, Green Road, Dhanmondi,\n\tDhaka,Bangladesh.\n\t::ContactInfo::\n\tTel: Tel: 9612345 Ex. 1326\n\t\Mob: 01716-329964\n\tFax: 9671080\n\tE-mail: kawsar8877@yahoo.com\n\n");
break;
case 20:
system("cls");
hos();
printf("\tName of Hospital:\n\tIspahani Islamia Eye Institute & Hospital\n\tCatagory:\n\t Private Hospitals\n\tAddress:\n\tFarmgate, Sher-E-Bangla Nagar, Khamarbari, \n\tDhaka,Bangladesh.\n\t::ContactInfo::\n\tTel: 8112856\n\tE-mail: ieh1960@yahoo.com\n\n");
break;
case 21:
system("cls");
printf( "\n\tThanks for Using our service!\n" );
break;
default:
system("cls");
hos();
printf( "\tWrong input...Please Try Again!!!\n" );
break;
}
}while(input != 21);
}
void bbank()
{
int input;
do
{
system("color b1");
printf("\t ___________________________________\n");
printf("\t ..::Blood Bank In Dhaka City::.. \n");
printf("\t ___________________________________\n\n");
printf( "\t1. Quantum Blood Bank\n" );
printf( "\t2. Red Crescent Blood Bank\n" );
printf( "\t3. Islami Bank Hospital Blood Bank\n" );
printf( "\t4. Shandhani, Dhaka Medical College Branch\n" );
printf( "\t5. Shandhani, Dhaka Dental College Branch\n" );
printf( "\t6. >>Back To Main Menu<<\n" );
printf( "\t\tSelection: " );
scanf( "%d", &input );
switch ( input )
{
case 1:
system("cls");
blood();
printf("\tName: Quantum Blood Bank\n\tAddress: 1/1 Pioneer Road (Ground Floor); \n\tSegunbagicha; Kakrail; Dhaka - 1000; Dhaka, Bangladesh\n \t\t::Contact Info::\n\tContact No:+88 02 9351969, +88 01714010869\n\t E-mail:info@quantummethod.org.bd\n\t Website:: http://www.quantummethod.org.bd \n\n");
break;
case 2:
system("cls");
blood();
printf("\tName: Red Crescent Blood Bank\n\tAddress: Dhaka, Bangladesh\n \t\t::Contact Info::\n\tContact No: 9116563, 8121497\n\n");
break;
case 3:
system("cls");
blood();
printf("\tName: Islami Bank Hospital Blood Bank\n\tAddress: Dhaka, Bangladesh\n \t\t::Contact Info::\n\tContact No: 8317090, 8321495 \n\n");
break;
case 4:
system("cls");
blood();
printf("\tName: Shandhani, Dhaka Medical College Branch\n\tAddress: Dhaka Medical College Branch; Dhaka, Bangladesh\n \t\t::Contact Info::\n\tContact No: 9668690,861674\n\n");
break;
case 5:
system("cls");
blood();
printf("\tName: Shandhani, Dhaka Dental College Branch\n\tAddress: Dhaka Dental College Branch; Dhaka, Bangladesh\n \t\t::Contact Info::\n\tContact No: 9011887\n\n");
break;
case 6:
system("cls");
printf( "\tThanks for Using our service!!\n" );
break;
default:
system("cls");
printf( "\tWrong input...Please Try Again!!!\n" );
break;
}
}while(input != 6);
}
void ambulance()
{
int input;
do
{
system("color e2");
printf( "\n\t1. Dhaka Medical College Hospital\n" );
printf( "\t2. Fire Service\n" );
printf( "\t3. Dhaka City Corporation (Mirpur Control Room)\n" );
printf( "\t4. Dhaka City Corporation (Nagar Bhaban Control Room)\n" );
printf( "\t5. Ad-Din Hospital\n" );
printf( "\t6. CMH (Dhaka)" );
printf( "\t7. National Heart Institute\n" );
printf( "\t8. Al-Markazul Islami Ambulance Service\n" );
printf( "\t9. Red Crescent Society\n" );
printf( "\t10. Anjuman-E-Mufidul Islam\n" );
printf( "\t11. >>Back To Main Menu<<\n" );
printf( "\t\tSelection: " );
scanf( "%d", &input );
switch ( input )
{
case 1:
system("cls");
amb();
printf("\tName: Dhaka Medical College Hospital\n\t\t::Contact Info::\n\tContact No:505025-29, 500121-5\n\n");
break;
case 2:
system("cls");
amb();
printf("\tName: Fire Service\n\t\t::Contact Info::\n\tContact No:955666-7, 9553333-7, 9555555\n\n");
break;
case 3:
system("cls");
amb();
printf("\tName: Dhaka City Corporation (Mirpur Control Room)\n\t\t::Contact Info::\n\tContact No:9004734\n\n");
break;
case 4:
system("cls");
amb();
printf("\tName: Dhaka City Corporation (Nagar Bhaban Control Room)\n\t\t::Contact Info::\n\tContact No:9556014, 9556018, 9557186-87\n\n");
break;
case 5:
system("cls");
amb();
printf("\tName: Ad-Din Hospital\n\t\t::Contact Info::\n\tContact No:9362929\n\n");
break;
case 6:
system("cls");
amb();
printf("\tName: CMH (Dhaka)\n\t\t::Contact Info::\n\tContact No:9871469\n\n");
break;
case 7:
system("cls");
amb();
printf("\tName: National Heart Institute\n\t\t::Contact Info::\n\tContact No:9122560-72\n\n");
break;
case 8:
system("cls");
amb();
printf("\tName: Al-Markazul Islami Ambulance Service\n\t\t::Contact Info::\n\tContact No:9127867, 8114980\n\n");
break;
case 9:
system("cls");
amb();
printf("\tName: Anjuman-E-Mufidul Islam\n\t\t::Contact Info::\n\tContact No:Phone: 9336611, 7411660, 7410786\n\n");
break;
case 10:
system("cls");
amb();
printf("\tName: Red Crescent Society\n\t\t::Contact Info::\n\tContact No:9330188-9, 9358799\n\n");
break;
case 11:
system("cls");
printf("\n\tThanks for using our service!\n");
break;
default:
system("cls");
printf("\n\t\tWrong input!!!\n");
break;
}
}while(input != 11);
}
int main() {
char menu;
int i;
do{
men();
scanf("\t %c",&menu);
switch(menu) {
case '1':
system("cls");
hosp();
system("color ff");
printf("\n\n\n\t.::Press 0 To Back Main Menu::.");
scanf("%d",&i);
if (i==0)
{
system("cls");
men();
}
system("cls");
break;
case '2':
system("cls");
printf(".::Blood Bank::.");
bbank();
system("color fc");
printf("\n\n\t.::Press 0 To Back Main Menu::.");
scanf("%d",&i);
if (i==0)
{
system("cls");
men();
}
system("cls");
break;
case '3':
system("cls");
amb();
ambulance();
system("color a2");
printf("\n\n\n\n\n\n\t.::Press 0 To Back Main Menu::.");
scanf("%d",&i);
if (i==0)
{
system("cls");
}
break;
case '4':
printf("\n\t >>Exiting programe...\n\n\n\n\n\n\n\n\n\n");
system("cls");
exit(0);
break;
default:
printf("\n\tError! operator is not correct\n \t");
break;
}
}
while(menu != 4);
return 0;
}
::OUTPUT::