Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1 . Open up Eclipse. 2 . Create a new project ( it does not matter what project names are they are just for your

1.
Open up Eclipse.
2.
Create a new project (it does not matter what project names are they are just for your
organization and do not get carried through to the jar file). Depending on your chosen
organization, you can put all mod 1 together or whatever works for you.
3.
Create a new package named
dwolffm1w1
(except use your name). This is the pattern
that you will be using to name all your packages and jar files.
4.
Create a new Java class named
Robot
. Make certain to put the check mark for including
the public static void main....
5.
You are tasked with developing a Java program that calculates the efficiency of a group
of three robots. Each robot has a unique identification name and can perform a certain
number of tasks per hour.
6.
Write a Java program (NO LOOPS OR DECISION STRUCTURES) that takes input
from the user to gather information about the three robots, calculates the overall
efficiency of the group, and prints the results.
7.
Save your program. Run it to make certain that it works.
1.
Export your program as a jar file named
dwolffm1w1
(except use your name). Make
certain to check the box to save the source files.
8.
Submit your jar file to Canvas.
Sample output
Enter details for Robot 1:
Robot Identification: Scrap
Number of Tasks Performed per Hour: 25
Enter details for Robot 2:
Robot Identification: Bolt Head
Number of Tasks Performed per Hour: 31
Enter details for Robot 3:
Robot Identification: Slow Mo
Number of Tasks Performed per Hour: 7
------------------------------------
Robot Details:
Robot 1- ID: Scrap, Tasks per Hour: 25
Robot 2- ID: Bolt Head, Tasks per Hour: 31
Robot 3- ID: Slow Mo, Tasks per Hour: 7
Overall Efficiency: 21.0 tasks per robot

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Harness The Power Of Big Data The IBM Big Data Platform

Authors: Paul Zikopoulos, David Corrigan James Giles Thomas Deutsch Krishnan Parasuraman Dirk DeRoos Paul Zikopoulos

1st Edition

0071808183, 9780071808187

More Books

Students also viewed these Databases questions