Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

each plant must have 4 inputs( java) Assignment 2H plant2#: You are writing a program for a plastic spoon factory which produces plastic spoon plant3:

each plant must have 4 inputs( java)
image text in transcribed
Assignment 2H plant2\#: You are writing a program for a plastic spoon factory which produces plastic spoon plant3: in units of thousand. Implement this program using arrays. There are three steps to the project Note: There are 3 factories so the site of your array should be 3. Step 1: INPUT The sample output for the rua is given below: Asking the user to enter the production of spoons in thousand and storing the value in the respective array: Note: This is the output far the first plant so you will ask for the input of production for anodher 2 plants Step 2: Rounding the numbers stored in the array to a whole number Let's say that after getting the input from the user you amay was looking like this Plant[0] =5750 Plant[1] =8700 plant[2] = 4500 You have divide the above values by 1000 and then round it up to the next highest value plant [0]=6 plant [1]=9 plant [2]=5 Note: Use Math Lbrary to sse cell function Step 3: Printing the numbers stored as a graph based on the output of step 2 plant1

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

Database Processing Fundamentals, Design, and Implementation

Authors: David M. Kroenke, David J. Auer

14th edition

133876705, 9781292107639, 1292107634, 978-0133876703

More Books

Students also viewed these Databases questions