Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Can you help me with this question? code in java the second picture is a sample for the output of the code thank you details

Can you help me with this question?
code in java
the second picture is a sample for the output of the code
thank you
image text in transcribed
image text in transcribed
details image text in transcribed
Outcome2. Design, implement and evaluate a computing-based solution to meet a ghen set of computing requirements in the context of the program's discipline. Purpose: Practice the concepts of Problem Solving and then Implementation using the basics of Java to demonstrate your solution. Task 1: Write a Java program that will create a monthly sales report of electronic devices for a particular company. In each week (only 4 weeks), the program should ask the user to input the number of sales for three types of electronic devices separately (PlayStation, Camera, and TV). The program should then print the report which should include purchasing price, number of sales for each week, the total number of sales and total price for each type. The price is fixed for each type of electronic devices as shown in the following table: Price Electronic Device Type PlayStation Camera $5500 $3200 $1500 TV Notes: The cost of electronic devices should be saved as constants in your program. The number of digits after decimal point for the average should be two digits only. . Sample Output (Your output should be IDENTICAL except with different input values) Initing thay tales por cabo please enter the number of sales to the lss : thumber of playasos sold! of Caso mot and I pierw the number of sales to the and we Shamber of paytan sold: hamber of Cod: 3 Thamber of the soldi please enter the sub of sales for the ted week Shamber of plays sold 3 of Cards Member of soldi please hebt of sales to the he Tietot tona woda hot Camera wid 2 We of TVs sold: 4 Mathy Lee Devices Sales Report con Device Type Rosal Sales 1o es wat we TATAL Puti Playstation 5000 312000 31000 IS IS 10400 SC000.0 3326000 Total Price during th*1950000 Grading Details Grading Details Your program will be graded upon the following criteria: 1. Adhering to the implementation specifications listed on this write-up. 2. Your algorithmic design. 3. Correctness, 4. Your program should include a header comment with the following information your name, course number, section number, assignment title, and date. 5. Your program should look EXACTLY like the sample run given above. 6. The grade distribution is (input 30%- calculation 30%- constants+ two digits 20%-Output format 20%) Deliverables: You should submit one Java file containing the Java code. ***The file should be named exactly as specified Assignment1_FirstName_LastName. Example: Assignment1_Sarah_Alharthi. . Suggestions: Read AND fully understand this document BEFORE starting the program! Next, make your algorithm, pseudo code, and flowchart. Once the solution is 100% clear to you, then begin making your code. Hope this helps

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_2

Step: 3

blur-text-image_3

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

More Books

Students also viewed these Databases questions

Question

What is a global industry?

Answered: 1 week ago