C++ Project on Medical Shop Management System | With Output Download | Class 12th | ImTeg....
#include<iostream.h> // HEADERS FILES
#include<conio.h> #include<process.h> class all { private: struct address // for knowing the address of the patient {f int house; char street[30]; char city[30]; char state[30]; char country[30]; }; struct age { int day; int month; int year; }; struct patient_info //information of patients { char name[50]; address AD1; //nested structure implemented age A1; //nested structure implemented int martial_status; int reg_no; int bld_group; int sex; }PI[100]; int task; protected: void enter_patient_info(); // for entering the patient details void show_patient_detail(); public: void software_detail(); void tasks(); char answer; char answer1; char ch; int serial; }; class date { private: int date; int month; int year; public: void enter_date(); void show_date(); }; class dob { private: struct dob1 { int date; int month; int year; int rem; }DOB11[100]; public: void enter_date(); void show_date(); }; int i=0; int rem; int count; int regis; int attempt; int temp; int show_count=0; all A1; //object declared date D1; //object declared dob DOB1; //object declared void main() { count=0; cout<<" Welcome to... "<<"\n"; cout<<"**MEDICAL STORE MANAGEMENT SOFTWARE***"<<"\n"; cout<<" By KARAN KUMAR "<<"\n"; D1.enter_date(); A1.tasks(); } void all::tasks() { attempt=0; D1.show_date(); cout<<"***MEDICAL STORE MANAGEMENT SOFTWARE***"<<"\n"; cout<<" By DELHI PUBLIC SCHOOL, BOKARO "<<"\n"; cout<<" **Management Tasks**"<<"\n"; cout<<" *****************************"<<"\n"; cout<<"Please select a task to do...."<<"\n"; cout<<"1. Entry."<<"\n"; cout<<"2. Display."<<"\n"; cout<<"3. View detail about the program ."<<"\n"; cout<<"4. Exit from the program ."<<"\n"; //other function remain cout<<"Enter your task serail :"<<"\n"; cin>>task; switch(task) { case 1:{ A1.enter_patient_info(); break; } case 2:{ A1.show_patient_detail(); break; } case 3:{ A1.software_detail(); break; } case 4:{ clrscr(); cout<<"Thank You for trying this program !!!"<<"\n"; cout<<" This is the end of program...."<<"\n"; cout<<"Press any key to exit....."<<"\n"; getch(); exit(0); break; } default:{ clrscr(); cout<<"Invalid task serial ."<<"\n"; cout<<"Press any key to continue...."<<"\n"; getch(); clrscr(); A1.tasks(); } } } void all::enter_patient_info() { clrscr(); answer='y'; if(count==0) { serial=1; } else { i=serial; } for(i=serial;answer=='y'||answer=='Y';i++) { PI[i].reg_no=i; temp=serial; cout<<"***ENTERING INFORMATION FOR PATIENT SERIAL NUMBER "<<i<<"***"<<"\n"; cin.get(ch); cout<<"Registration Number : "<<PI[i].reg_no<<"\n"; cout<<"Enter the name of patient :"<<"\n"; clreol(); cin.getline(PI[i].name,50); cout<<"Sex (1-Male 2-Female) :"<<"\n"; clreol(); cin>>PI[i].sex; while(PI[i].sex!=1&&PI[i].sex!=2) { cout<<"Invalid input for sex of patient!!!"<<"\n"; cout<<"Sex :"<<"\n"; clreol(); cin>>PI[i].sex; } cout<<"***ENTERING ADDRESS**"<<"\n"; cout<<"House number :"<<"\n"; clreol(); cin>>PI[i].AD1.house; while(PI[i].AD1.house<=0) { cout<<"Invalid input for house number ."<<"\n"; cout<<"Again enter the house number ."<<"\n"; clreol(); cin>>PI[i].AD1.house; } cin.get(ch); cout<<"Street :"<<"\n"; clreol(); cin.getline(PI[i].AD1.street,30); cout<<"City :"<<"\n"; clreol(); cin.getline(PI[i].AD1.city,30); cout<<"State :"<<"\n"; clreol(); cin.getline(PI[i].AD1.state,30); cout<<"Country :"<<"\n"; clreol(); cin.getline(PI[i].AD1.country,30); DOB1.enter_date(); //to calculate age cin.get(ch); cout<<"Martial status(1-Married,2-Not Married ):"<<"\n"; if(count!=0) { clreol(); } cin>>PI[i].martial_status; while(PI[i].martial_status<1||PI[i].martial_status>2) { cout<<"Invalid input for martial status ."<<"\n"; cout<<"Enter a valid martial status :"<<"\n"; clreol(); cin>>PI[i].martial_status; } cin.get(ch); if(count!=0) |
System Requirements:-• Required processor :Pentium 90 MHz or faster
INTRODUCTIONIt is the complete medical shop management software is so designed as to ease the work load of medical shop professionals. The main feature includes invoicing, inventory and stock control, accounting, client and vendor management. This software helps you to track all the profits, loss, profitable clients and products of medical shop moreover it’s a medical shop accounting software. Flexible and adaptive software suited to medical shops or stores or pharmacies of any size. This System will store the information of medicines & customers in the system. It will also store the information about stock details. This system provides security by granting access rights for changing the sensitive data to administrator only. Customized search options are also available in this system. This system can generate all kinds of reports as per the user’s requirements. As this is generic software it can be used by a wide variety of outlets(Retailers and Wholesalers) to automate the process of manually maintaining the records related to the subject of maintaining the stock and cash flows. This project is basically updating the manual medical store system to automated inventory system so that organization can manage their record in efficient and organized form. CONCLUSION
ADVANTAGES
PREFACEIn computer science, code is any collection of statements or declaration written in same
human readable computer programming language. Code allows the programmer to communicate with the computer using a reserved number of instructions. The code which constitutes a program is usually held in one or more text files. A computer program’s code is the collection of files needed to convert from human readable form to some kind of computer executable form. The code may be converted into an executable file by a complier, or executed on the fly from the human readable form with the aid of an interpreter. The code base of a programming project is the larger collection of all the source code of all the computer programs which make up the project.
|