Write program in JAVA for the scenario below
Scenario: North Carolina Medical Supply is researching purchasing Ram, a surgical robot. They have gathered data from several sources and need you to write a program to arrange this data in a report. They want to know what is the average rating for Ram, which users have given Ram above average ratings, and which companies rated Rams below average. They also want to know the cost per Ram, since they have noticed a difference in price based on the number of robots purchased.
Sample Data:
Name of Company # of Robots Cost (No tax included) Rating
Davis Inc. 15 $250, 000 Below Average
Belk Medical Inc. 30 $450, 000 Above Average
Jackson Surgical Inc. 3 $75, 000 Below Average
Baptist Medical Center 50 $500, 000 Above Average
SOURCE CODE IN JAVA:
class Main
{
public static void main(String[] args)
{
//storing data in arrays
String companies[]=new String[]{"Davis Inc.","Belk Medical Inc.","Jackson Surgical Inc.","Baptist Medical Center"};
int numberOfRobots[]=new int[]{15,30,3,15};
double cost[]=new double[]{250000,450000,75000,500000};
String ratings[]=new String[]{"Below Average","Above Average","Below Average","Above Average"};
//finding and displaying companies with below average rating
System.out.println("Companies with below average rated Ram: ");
for(int i=0;i<companies.length;i++)
{
if(ratings[i].equals("Below Average"))
System.out.println(companies[i]);
}
System.out.println();
//finding and displaying companies with above average rating
System.out.println("Companies with above average rated Ram: ");
for(int i=0;i<companies.length;i++)
{
if(ratings[i].equals("Above Average"))
System.out.println(companies[i]);
}
System.out.println();
//finding and displaying cost per robot for every Company
System.out.println("Cost per robot for every Company:");
for(int i=0;i<companies.length;i++)
{
System.out.printf("%24s - $%.2f\n",companies[i],cost[i]/numberOfRobots[i]);
}
}
}
OUTPUT:

Write program in JAVA for the scenario below Scenario: North Carolina Medical Supply is researching purchasing...
Java Help: Scenario: North Carolina Medical Supply is researching purchasing Flint, a surgical robot. They have gathered data from several sources and need you to write a program to arrange this data in a report. They want to know what is the average rating for Flint, which users have given Flint above average ratings, and which companies rated Flint below average. They also want to know the cost per Flint, since they have noticed a difference in price based on...
in java PART ONE ================================================== Write a program that will read employee earnings data from an external file and then sort and display that data. Copy and paste the input file data below into an external file, which your program will then read. You will want to use parallel arrays for this program. Modify the select sort algorithm to receive both arrays as parameters as well as the size of the arrays. Use the algorithm to sort your earnings array....
Java Project For this assignment, you will write a simulation program to determine the average waiting time at a grocery store checkout while varying the number of customers and the number of checkout lanes. Classes needed: SortedLinked List: Implement a generic sorted singly-linked list which contains all of the elements included in the unsorted linked list developed in class, but modifies it in the following way: delete the addfirst, addlast, and add(index) methods and instead include a single add method...
Needs Help with Java programming language For this assignment, you need to write a simulation program to determine the average waiting time at a grocery store checkout while varying the number of customers and the number of checkout lanes. Classes needed: SortedLinked List: Implement a generic sorted singly-linked list which contains all of the elements included in the unsorted linked list developed in class, but modifies it in the following way: • delete the addfirst, addlast, and add(index) methods and...
Use program control statements in the following exercises: Question 1 . Write pseudocode for the following: • Input a time in seconds. • Convert this time to hours, minutes, and seconds and print the result as shown in the following example: 2 300 seconds converts to 0 hours, 38 minutes, 20 seconds. Question 2. The voting for a company chairperson is recorded by entering the numbers 1 to 5 at the keyboard, depending on which of the five candidates secured...
Write a C++ program named, gradeProcessor.cpp, that will do the following tasks: -Print welcome message -Generate the number of test scores the user enters; have scores fall into a normal distribution for grades -Display all of the generated scores - no more than 10 per line -Calculate and display the average of all scores -Find and display the number of scores above the overall average (previous output) -Find and display the letter grade that corresponds to the average above (overall...
Using the CNA Insurance company Knowledge Management scenario (below), carry out the following knowledge management assignment Questions after reading the scenario/essay: =============================================================================================================== For Gordon Larson, telling stories is all in a day's work at his job as chief knowledge officer at CNA, and that's just fine with executives at the Chicago-based insurance giant. Larson owes his job to a shift in corporate direction. Three years ago, under the direction of a new chairman, CNA set off on a new mission....
What kind of instruments were used in the study? Did it
clearly link to the research question? (One paragraph
minimum)
Page Organlzation of Hospital Nursing and 30-day Readmissions In Medicare Patlents Undergoing Surgery Chenjuan Ma, PhD National Database of Nursing Quality Indicators, University of Kansas School of Nursing 3901 Rainbow Bvd, M/S 3060 Kansas City, KS 66160, USA Matthew D McHugh, PhD, and Center for Heath Outcomes and Palcy Research University of Pennsyivania School of Nursing 418 Cune Bivd., Fagin...
Write MySQL query statements for the questions below including
the output that proves the accuracy of your solution. Your answers
should be stored in a text file that captures your interaction with
MySQL.
1. Find the movieID, title, year and DVDPrice of all movies
where the DVD-Price is equal to the discountPrice.
2. Find the actorID, lastName, firstName, middleName, and suffix
of all actors whose middleName is not NULL.
3. Suppose you remember a movie quote as “Play it again,...