Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

can someone help write this in java Lab 5 Selection Structures Exercise 61: Design and implement a program (name it ProcessGrades) that reads from the

can someone help write this in java image text in transcribed
image text in transcribed
Lab 5 Selection Structures Exercise 61: Design and implement a program (name it ProcessGrades) that reads from the user four integer values between 0 and 100, representing grades. The program then, on separate lines, prints out the entered grades followed by the highest grade, lowest grade, and averages of all four grades. Format the outputs following the sample runs below. Sample run 1: You entered: Highest grade: Lowest grade: Average grade: 95, 80, 100, 70 100 70 86.25 Sample run 2 : You entered: Highest grade : Lowest grade: Average grade: 50, 86, 63, 72 86 50 67.75 Sample run 3: You entered: Highest grade: Lowest grade: Average grade: 70, 70, 70, 70 70 70 70.00 Exercise #2: Design and implement a programming (name it Next Meeting) to determine the day of your next meeting from today. The program reads from the user an integer value representing today's day (assume 0 for Sunday, 1 for Monday, 2 for Tuesday, 3 for Wednesday, etc...) and another integer value representing the number of days to the meeting day. The program determines and prints out the meeting day. Format the outputs following the sample runs below. Sample run 1: Today is Monday Days to the meeting is 10 days Meeting day is Thursday Sample run 2: Today is Wednesday Days to the meeting is 7 days Meeting day is Wednesday Sample run 3: Page 1 of 2 Today is Friday Days to the meeting is 20 days Meeting day is Thursday Exercise 13: Design and implement a program (name it CheckPoint) that prompts the user to enter the x-coordinate then y-coordinate of a point (in a Cartesian plane) as integer values. The program prints out the entered values followed by the location of the point on the plane. The possibilities for a point are the origin point, on the x-axis, on the y-axis, in the first quadrant, in the second quadrant, in the third quadrant, or in the fourth quadrant. Format the outputs following the sample runs below. Sample run 1: X-coordinate is O Y-coordinate is 0 (0, 0) is the origin point. Sample run 2: X-coordinate is 4 Y-coordinate is 0 ( 4 0) is on the x-axis. Sample run 3: X-coordinate is -2 Y-coordinate is -3 (-2,-3) is in the third quadrant. Samponun 4: X-coordinate is 6 Y-coordinate is 9 (6, 9) is in the first quadrant. Instructions: 1. Programs must be working correctly. 2. Programs must be completed and checked before working the assignment 3. Programs must be checked by the end of the designated lab session Page 2 of 2

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

Database Systems For Advanced Applications 9th International Conference Dasfaa 2004 Jeju Island Korea March 2004 Proceedings Lncs 2973

Authors: YoonJoon Lee ,Jianzhong Li ,Kyu-Young Whang

2004th Edition

3540210474, 978-3540210474

More Books

Students also viewed these Databases questions

Question

Module Knowledge Check Find all complex solutions of 2x^(2)+x+6=0

Answered: 1 week ago

Question

Does it avoid use of underlining?

Answered: 1 week ago