Write a java program on a good doctor

Assignment Help Computer Engineering
Reference no: EM133100

Question

Java program on A good Doctor is defined as a person who has ALL following properties-

His first name should contain at least 5 characters and his middle name must contain "Kumar" (ignore cases)
He must have a "MBBS" degree.
He must have treated at least 200 patients.
His age must be greater than 25.
The name of one of his patients must be "DEVESH".
If condition 5 fails then the number of his patients must be greater than 500 and he should own his own clinic.
If he does not have a "MD" degree, then the number of his patients must be greater than 1000.

Note down a method:

boolean isGoodDoctor(String firstname, String middlename, String lastname, String degree, int age, boolean hasOwnClinic, String[] patientsname)

firstname First name of doctor.
middlename Middle name of doctor.
lastname Last name of doctor.
degree Highest degree obtained by doctor.
age Age of the doctor in years.
hasOwnClinic whether or not doctor has his own clinic.
patientsname an array containing the names of doctors patients.

Reference no: EM133100

Questions Cloud

Display all 52 cards in a standard deck of playing cards : Display all 52 cards in a standard deck of playing cards
What is essential address field width : What is essential address field width
Write down an application that reads 3 integers : Write down an application that reads 3 integers
Describe the term tco : Describe the term TCO
Write a java program on a good doctor : Write a java program on A good Doctor
Write down specification for the adt as a java interface : Write down specification for the ADT as a java interface
Produce a decision table : Produce a decision table
What is role of risk assessment : What is role of risk assessment
Explain contents of an initially empty avl tree : Explain contents of an initially empty AVL tree

Reviews

Write a Review

Computer Engineering Questions & Answers

  Explain the method to find cost of sorting the relation

Explain the method to find cost of sorting the relation In each case, how many combine passes are required?

  How to make an xml file in visual studio

How to make an xml file in Visual Studio

  Recognize how to locate fsmo roles

Recognize how to locate FSMO roles?

  How to classify emerging technologies

How to classify emerging technologies Inscribe obviously and succinctly about information management systems using proper writing mechanics.

  Program on inline internal procedures deposit and withdraw

Program on Inline internal procedures deposit and withdraw.

  How to compare and evaluate speeds of dsl and cable modem

How to compare and evaluate speeds of DSL and cable modem Make a diagram of the DSL and Cable Modem connections to your ISP, cable organization, and telecom to your home router using Visio or its open source another software.

  Program on wireless connection technology

Program on wireless connection technology.

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Security policy document project

Analyze security requirements and develop a security policy

  Detail advantages of looping

Detail advantages of looping

  Write down a program to solve linear system

Write down a program to solve linear system

  Problem on troubleshooting dns records

Problem on Troubleshooting DNS Records

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd