This site requires JavaScript, please enable it in your browser!
Greenfoot back

Discussions

You need to login to take part
Rss

Current Discussions

divinity

Medical Office Management (aka MOM), what is wrong

By divinity, with no replies.
I know you all must be tired of me but anyways, I have this programme that I have build but it is not running as it should. It is called Medical Office Management where I have to used inheritance. I build the proram but something is deffinite;ly wrong, when I try to run it gave nothing, just blank and it keep running. the part of the program is working is the exit part. I am going to post all of the classes here so that you guys can take a look through my codes and tell me what is wrong and why it is not working properly. here are the classes. first one is the date the employee should be able to do this: A class variable which stores the number of patients noPat ii. Instance variables patID, first name, last name, phone number, date of birth (Date) and balance, which is used to keep track of any outstanding monies due by the patient. the patient class should be able to do this; A class variable which stores the number of patients noPat ii. Instance variables patID, first name, last name, phone number, date of birth (Date) and balance, which is used to keep track of any outstanding monies due by the patient Date class <Code Omitted> the employee class <Code Omitted> the patient class <Code Omitted> the person class (this class has a specification where u have to put a count (initialize to 0) and a company name of your choice. The person class <Code Omitted> The main class which is used to run the program, it is call MOM, short for Medical Office Management the main menu <Code Omitted> can someone tell me where i have gone wrong, why it is not working properly. can u gave me some ideas and how to fix it
37
38
39
40
41
42
43