Question: Using C++, Complete the following tasks: Design a class to hold a JobBid. Each JobBid contains a bid number and a quoted price. Each JobBid

Using C++,

Complete the following tasks:

Design a class to hold a JobBid. Each JobBid contains a bid number and a quoted price. Each JobBid also contains overloaded extraction and insertion operators.

Include an overloaded operator<()function. A JobBid is considered lower than another JobBid when the quoted price is lower.

Write a main()function that declares an array of four JobBid objects. Find and display the lowest JobBid.

Sample Run Enter job number 1234 Enter bid 1000 Enter job number 4567 Enter bid 800 Enter job number 6789 Enter bid 900 Enter job number 4321 Enter bid 950 The 4 are: Job #1234 bid $1000 Job #4567 bid $800 Job #6789 bid $900 Job #4321 bid $950 The lowest is Job #4567 bid $800 

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!