eed java code Imagine you have just purchased your first home. As your first house project, you have decided on adding a fence in your backyard.  You have contacted several local contractors and receive their project bids (estimated cost) and rating (out of 5 stars). These bids will be provided by up to five different contractors. In order to perform the evaluation, your application should select the winning bid with the highest rating and the lowest cost within your budget. If there are two or more bids with the highest rating and the lowest cost within your budget, then both bids should be selected. Create a modular solution to enable you to first enter your budget for the project. Then, the solution should allow you to enter each bid, one at a time, until all bids have been entered. If you enter an incorrect bid, the program should provide an error message and a chance to enter the bid again.  Once all bids have been entered, the winning bid should be determined. The winning bid should be the highest rated and the lowest cost within budget.  Print a well-formatted report that lists all the given bids, their rating and contractor name, the average of the given bids within budget, and the winning bid(s). Other Requirements: Your solution must be designed as a modular solution using modules other than a mainline, with each module performing only one task. The mainline should contain only a very minimal amount of logic, calling modules instead. Your solution must demonstrate the concept of arrays. Your solution must demonstrate the concept of multi-dimensional arrays. Your solution must not import any Java library other than JOptionPane, including java.util.Arrays Your solution must contain appropriate Try to think about what might be considered appropriate as you are designing your solution beyond what has already been explicitly provided

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

need java code

Imagine you have just purchased your first home. As your first house project, you have decided on adding a fence in your backyard.  You have contacted several local contractors and receive their project bids (estimated cost) and rating (out of 5 stars). These bids will be provided by up to five different contractors. In order to perform the evaluation, your application should select the winning bid with the highest rating and the lowest cost within your budget. If there are two or more bids with the highest rating and the lowest cost within your budget, then both bids should be selected.

Create a modular solution to enable you to first enter your budget for the project. Then, the solution should allow you to enter each bid, one at a time, until all bids have been entered. If you enter an incorrect bid, the program should provide an error message and a chance to enter the bid again.  Once all bids have been entered, the winning bid should be determined. The winning bid should be the highest rated and the lowest cost within budget.  Print a well-formatted report that lists all the given bids, their rating and contractor name, the average of the given bids within budget, and the winning bid(s).

Other Requirements:

  • Your solution must be designed as a modular solution using modules other than a mainline, with each module performing only one task. The mainline should contain only a very minimal amount of logic, calling modules instead.
  • Your solution must demonstrate the concept of arrays.
  • Your solution must demonstrate the concept of multi-dimensional arrays.
  • Your solution must not import any Java library other than JOptionPane, including java.util.Arrays
  • Your solution must contain appropriate Try to think about what might be considered appropriate as you are designing your solution beyond what has already been explicitly provided.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Running Time of Application
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education