- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 7
- Posts with Downvotes
- 5
- Downvoting Members
- 5
The program asks the user to enter physician name as array of character,but do not work properly ,only work for single character how can i input array of character for the physician name. look case 1 on my code. [CODE]for( i=0;i<n;i++) { cout<<"\nEnter physician "<<i+1 <<" name :"; cin>>phy_name[i]; cout<<"Enter … | |
1. //program to write the information of patients registered 2. // and physician available in the hospital.The program asks 3. //the user to register physician,register patient, 4. //list all available physicians and lisit all registered patients 5. // depending on the interest of the user. 6. #include<iostream> 7. #include<cstring> 8. … | |
The program asks the user what they want to do by selecting their choice from the MENU. even in case 1. the program asks the user to input physician name ,but as I do it only works for single character for example.if I input physician name <Sisay> the loop goes … | |
[code=c] #include<iostream.h> #include<string.h> void main() { int ch,n,phy_id[10],phy_workex[22]; char phy_name[12],phy_spec[30]; char pat_name[20],pat_gender[10],pat_case[50],ass_phy[12]; int m,pat_age[4],pat_cardno[20],pat_date[4]; do { cout<<"\t\t\t TASK SELECTION WINDOW \n"; cout<<"\t\t\t ********************* \n"; cout<<"\t What would you like to do ?\n"; cout<<"\t Please enter the number you choice \n"; cout<<"\t 1.Register a physician/s \n"; cout<<"\t 2.Register a patient/s \n"; … | |
please help me by doing the following program. I want to feed 80 students name,gender and CGPA.and want to sort in two cases.case 1 sorting with respect to their name case 2 sorting with respect to their CGPA. I would stat it like this. ******************************* #include<iostream.h> void main() { char … |