[solved] – Question 99714
write a C++ function to compute the average of
two numbers
Expert Answer
[solved] – Question 99715
write a C++ program to check if a given string is
a palindrome
Expert Answer
[solved] – Question 99729
http://pages.cpsc.ucalgary.ca/~robin/class/449/assignments/sol_2019.pdf
Expert Answer
[solved] – Question 99731
Write a program that accepts three decimal numbers as input and outputs their sum.
Expert Answer
[solved] – Question 9981
Write a program for a Hospital Management Application. The Hospital should store a number of doctors and a number of patients (tip: as objects stored in array lists). Each doctor should have the following information: SSN, Name, Surname, number of patients, Office_ No, Specialization. Each patient should have the following information: ID, Name, Surname, Address, Phone_Number, Doctor_SSN. Then create the following functionalities (tip: as a menu) for the user to choose:
1. Ask to enter data of Doctor/Patients from a file in.txt.
2. Enter a new Doctor or Patient.
3. Find and delete a Doctor or a Patient.
4. Search for a doctor by Name+Surname or SSN.
5. Search for a patient by Name+Surname or ID.
6. Search for a doctor that has a number of patients within a certain range.
7. Search for doctors of a certain specialization.
8. Search for all patients of a doctor.
9. Find the doctor with min or max number of patients.
10. Exit.
The result of each choice should be displayed on the screen. Write a log file for the user’s choices and functionalities.
Expert Answer
Answer to Write a program for a Hospital Management Application. The Hospital should store a number of doctors and a number of patients…..
[solved] – Question 99812
For this lab you will find the area of an irregularly shaped room with the shape as shown above. Ask the user to enter the values for sides A, B, C, D, and E and print out the total room area. Remember the formula for finding the area of a rectangle is length * width and the area of a right triangle is 0.5 * the base * height.Please note the final area should be in decimal format.
SAMPLE RUN:
Enter side A: 11
Enter side B: 2
Enter side C: 4
Enter side D: 7
Enter side E: 1
SAMPLE OUTPUT:
Room Area: 53.5
Expert Answer
Answer to For this lab you will find the area of an irregularly shaped room with the shape as shown above. Ask the user to enter the values for sides….
[solved] – Question 99817
Write a program that inputs the length of two pieces of fabric in feet and inches (as whole numbers) and prints the total.
Sample Run
Enter the Feet: 3
Enter the Inches: 11
Enter the Feet: 2
Enter the Inches: 5
Sample Output
Feet: 6 Inches: 4
Expert Answer
[solved] – Question 99819
Write a program that accepts a time as an hour and minute. Add 15 minutes to the time, and output the results.
Sample Run 1
Enter the hour: 8
Enter the minute: 15
Sample Output 1
Hours: 8
Minutes: 30
Sample Run 2
Enter the hour: 9
Enter the minute: 46
Sample Output 2
Hours: 10
Minutes: 1
Expert Answer
[solved] – Question 99849
You are running algorithm with squared complexity on data with 100 elements and it takes 10 seconds. How much time do you expect the algorithm will take when executed on data with 1000 elements?
Expert Answer
Answer to You are running algorithm with squared complexity on data with 100 elements and it takes 10 seconds…..
[solved] – Question 99850
Use a minimal number of MIPS assembly instructions and identify all possible
addressing modes.
a) g = 4*h + 8-h;
b) while (h== 5)
g = 2*h + 8-h;
g = 8*h+ (8-h)
Expert Answer