How JustAnswer Works:
  • Ask an Expert
    Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional Answer
    Via email, text message, or notification as you wait on our site.
    Ask follow up questions if you need to.
  • 100% Satisfaction Guarantee
    Rate the answer you receive.
Ask Scott Your Own Question
Scott, MIT Graduate
Category: Homework
Satisfied Customers: 3040
Experience:  MIT Graduate (Math, Programming, Science, and Music)
Type Your Homework Question Here...
Scott is online now
A new question is answered every 9 seconds

Please work out the problems independently. 1. Write a

Customer Question

Please work out the problems independently.
1. Write a program to allow user enter an array of structures, with each structure containing the
firstname, lastname and the written test score of a driver. (5 points)
 Your program should use a DYNAMIC array to make sure user has enough storage to enter
the data. (5 points)
 Once all the data being entered, you need to design a function to sort the data in
descending order based on the test score. (5 points)
 Another function should be designed to display the hightest, lowest and average test scores
in all the test takers along with their name. (5 points)
2. Design a class called XY. Design the class to have two private interger members X and Y.
 Provide a default constructor. Set both X and Y to be default value 0 (3points)
 Provide a constructor with parameter. Initialize X and Y to be parameter values. (3
 Provide a copy constructor. (4points)
 Provide set and get member functions. (5 points)
 Overload the + operator to enable adding of two XY instances. You are supposed to
add their X part together and their Y part together.(5 points)
 Overload the == operators to allow comparisons of two XY instances. (5 points)
 Enable input and output of XY instance through the overloaded >> and << operators.
(5 points)
 You need to design a class header file, an implementation file and a driver file (3
points). The driver file needs to test out each of the member functions completely.
(5 points)
Submitted: 5 months ago.
Category: Homework
Expert:  jatechexpert replied 5 months ago.


Thanks for using

My name isCustomer I will help you

Customer: replied 5 months ago.
Please do
Expert:  jatechexpert replied 5 months ago.


The price is very low, can you increase the price

Related Homework Questions