Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

Create a simple library management system with the classes library,admin ,user,librarian,books,issue.

One day while Cody was playing with his friends in the woods, they stumbled upon a bearded old man living alone in his cabin. Cody and his friends were shocked that somebody could grow that old. Cody, refusing to believe that it is possible, asked the old man his age. The old man said, "My age is the sum of The Programmer and your teacher's ages subtracted by the age of your friend, Peter". Puzzled with this statement, Cody quickly tried to input the ages of The Programmer, his teacher, and his friend, Peter. Help Cody find out the age of the old man.


Cody was amazed that people could grow so old and wondered If he, a robot, would also be able to grow like that. Suddenly, he heard a sharp cry nearby, and as he tumed the comer, he saw a baby. Cody never saw a baby before, plus, he was never a baby himself so he was really surprised that something could be that young. Cody asked the baby his age and the baby replied through crying, "My age is the product of The Programmer's age and your teacher's age all of which is divided by Peter's age then added by 1 Cody quickly inputted all the ages.


For example, if the Hydra had 10 heads and he called 5 friends then they would each cut 2 heads. This presented a problem, however, if the Hydra had 11 heads then that meant one of them had to cut 3 heads.


Input the number of friends Cody has to call and the number of heads the Hydra currently has and then print the minimum number of heads each one of them has to cut.


Finally, the exam is over! i think I did quite well, but I'm not very confident with my answer for number 10. I need to verify my answer.


Hey,you! Yeah, you, what's your answer for 10? Is A,B,C,D, or E?


: 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]   


use instance methods such as getters, setters and constructors, for a library management system, your class should have functionality listed below:

  1. register_student
  2. login

a. add_new_book

b. book_details

c. issue_books

d. issued_books

e. return_books




Create a program using a console application name "DragonKiller". The program should ask the user to enter his/her name and surname. Create a method name RemoveSpace() to remove space between the name and the surname entered by the user. Count the number of characters within the newly created string (nameSurname). The total number of characters (Name and Surname) should be used as the size of your arrayDragon (type integer). Populate your arrayDragon with a series of odd random numbers between 10 and 50. Display all arrayDragon elements and their corresponding indexes before executing. The insertionSort method allows the user to enter a value from the arrayDragon element to search for and be removed (Killed). • Loop through the array until you find the value (Use the binarySearch to locate the value with in your array) and kill that value from the arrayDragon. By replacing the value findDragon with a Zero (0) • Print out arrayDragon with the killed element.



Design a program using a console application in java NetBeans, named studentMarksReport that will print the final result obtained by a student with the weighting of each module. Make use of a class named Student that contains variables to store the student number, test result, assignment result and exam. Create a constructor that accepts the student number, test result, assignment result and the exam result as parameters and create get methods for the variables (UseJOptionePane to get variable from the user). Create a subclass called Student_Report that extends the Student class. The Student_Report overrides all getter methods and the constructor from Students. Write code for the print_report method which calculates each assessment weighting as follows:

test =25% weighting

assignment=25%weighting

exam=50%weighting


1) Create a public class named: Employee that would get the firstname and lastname of each

employee from the keyboard/user

2) Create three objects: prog, adm and lib, for programmer, admin and librarian respectively to

access the properties in Employee class.

3) Create EmployeeSalary as parent interface to store basic_sal, housing_all and

transport_all. The values for these three items are fixed for all Employee and has abstract

function calculateSalary.

4) Create three sub classes namely: programmer, admin and librarian to store bonus,

overtime and total salary for each employee

5) Each of the constructor in (4) should inherit the properties of Employee(using the super

keyword) and implement the EmployeeSalary interface.

6) Hide the properties from the parent class Employee using encapsulation principle.

7) Use getters and setters to make the properties in Employee visible and accessible to other classes: programmer, admin and

librarian.



LATEST TUTORIALS
APPROVED BY CLIENTS