Calculate interest of bank using interface in java
Write a program to overload operators in the same program by writing suitable operator member functions for following expression: O7= ((O1 % O2)>(O3 || O4) - (O5>O6)) [Here O1,O2,O3,O4,O5,O6 and O7 are objects of a class “overloading”, and this class is having one integer data member]
Write a program to take input for n number of doctor records and write records of all cardiologists in a file named: “record1”. Also write records of all those doctors in another file named: “record2” who are taking salary more than INR 80,000. After writing records in both files, merge their contents in another file: “finalrecord” and read all records of “finalrecord” file and display on screen. [Attributes of doctor: doc_id, doc_name, doc_specialization, doc_salary]
sir please can i get the source code
Choose your destiny Blog: Create a blog where you give the reader different paths at the end of each page. A different outcome every time they play and read!
A timetable for the consultation of a member of the parliament is organized, in which citizens are registered, with their name, surname, and age. Consultation provided by a member of the parliament takes ~10 minutes. Therefore the duration of the consultation must be indicated in the registration, and however, it can be shorter and also longer. If the length of consultation of a new citizen is 70% shorter comparing to the duration of a citizen standing before him,
The program must have the following features:
1) Register a new citizen for consultations;
2) Print the list of consultations (details of all waiting citizens) by providing summary information on the total duration and number of consultations;
3) Cancel longer than specified duration (entered by the operator) consultations;
4) Apologize to all citizens and cancel all consultations;
* A member of the parliament may only hold consultations for 2 hours per day.
Find the Optimal Binary Search Tree for 10, 20, 30, 40 and their frequency is given by 1156 .(Neatly show all the steps and also write the algorithm)(Analyze the running time of the given problem).
by CodeChum Admin
There are different kinds of numbers, but among them all, the most commonly used numbers in our daily lives are those positive ones. So, I only want you to count all the positive numbers from the 4 outputted values and print out the result.
Go and search for the positive ones among these four!
Input
1. First number
2. Second number
3. Third number
4. Fourth number
Output
The first four lines will contain message prompts to input the four numbers.
The last line contains the total count of all the positive numbers.
Enter·the·first·number:·2
Enter·the·second·number:·-4
Enter·the·third·number:·3.6
Enter·the·fourth·number:·1
Count·of·positives·=·3
Find a longest common subsequence between following strings:
String1= {1, 2, 3, 4, 5, 6, 7, 8}
String2=<1,2,0,1,1,5,6,5>
(Neatly show all the steps and also write the algorithm)(Analyze the running time of the given problem).
Items ={a, b, c ,d, e}
Weight ={4, 3, 2, 5, 6 }
Price =<15565 and add 5, 7, 3, 2, 4 to the respective digit>
Size of the bag =13
Select the items from the store such that you earn the maximum profit.Knapsack technique to solve it).(Neatly show all the steps and also write the algorithm)(Apply the bottom-up approach to find the optimal solution)(Analyze the running time of the given problem)