Develop a Java Program for Siyagijima Gym using NetBeans. The program must initially output a welcome message, and then prompt the user to enter the number of weights which will be measured. The program must then store these weights then should sort the weights in descending order. The program must also calculate the average weight. In the end, the average weight together with the sorted numbers must be displayed. Figure 2 below shows the expected program in operation.
Develop a Java Program for Siyagijima Gym using NetBeans. The program must initially output a welcome message, and then prompt the user to enter the number of weights which will be measured. The program must then store these weights then should sort the weights in descending order. The program must also calculate the average weight. In the end, the average weight together with the sorted numbers must be displayed. Figure 2 below shows the expected program in operation.
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
1st Edition
ISBN:9780357392676
Author:FREUND, Steven
Publisher:FREUND, Steven
Chapter3: Working With Large Worksheets, Charting, And What-if Analysis
Section: Chapter Questions
Problem 2.3EYK
Related questions
Question
Develop a Java
![Output-ITJVA3Assign2 (run) x
DD
***** Welcome to Siyagijima Gym" *****
run:
Enter the number of people you will be recording: 6
Enter the weight of 6 people
Input weight: 89
Input weight: 96
Input weight: 45
Input weight: 23
Input weight: 44
Input weight: 75
***** Summary**
The average weight is: 62
Weights in descending order are:
96
89
75
45
44
23
BUILD SUCCESSFUL (total time: 14 seconds)](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F580d0402-ef69-4ce2-a2d8-aae8e3a6e5d3%2Fa2ee5703-5b1a-48ab-9407-630ad6a8347b%2Fr2b32wo_processed.jpeg&w=3840&q=75)
Transcribed Image Text:Output-ITJVA3Assign2 (run) x
DD
***** Welcome to Siyagijima Gym" *****
run:
Enter the number of people you will be recording: 6
Enter the weight of 6 people
Input weight: 89
Input weight: 96
Input weight: 45
Input weight: 23
Input weight: 44
Input weight: 75
***** Summary**
The average weight is: 62
Weights in descending order are:
96
89
75
45
44
23
BUILD SUCCESSFUL (total time: 14 seconds)
![Siyagijima Gym
Siyagijima is a local gym. When members enter the gym, it is required that their weight is measured
before they enter. Currently, the security person at the door records the weight on a piece of paper.
Siyagijima Gym has decided to digitise this process by making use of a program that will record these
weights. The program must then do some statistics which the gym can make use of.
Source: Makura S.M. (2022)
Develop a Java Program for Siyagijima Gym using NetBeans. The program must initially output a
welcome message, and then prompt the user to enter the number of weights which will be
measured. The program must then store these weights then should sort the weights in
descending order. The program must also calculate the average weight. In the end, the average
weight together with the sorted numbers must be displayed. Figure 2 below shows the expected
program in operation.](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F580d0402-ef69-4ce2-a2d8-aae8e3a6e5d3%2Fa2ee5703-5b1a-48ab-9407-630ad6a8347b%2Flp49uc29_processed.jpeg&w=3840&q=75)
Transcribed Image Text:Siyagijima Gym
Siyagijima is a local gym. When members enter the gym, it is required that their weight is measured
before they enter. Currently, the security person at the door records the weight on a piece of paper.
Siyagijima Gym has decided to digitise this process by making use of a program that will record these
weights. The program must then do some statistics which the gym can make use of.
Source: Makura S.M. (2022)
Develop a Java Program for Siyagijima Gym using NetBeans. The program must initially output a
welcome message, and then prompt the user to enter the number of weights which will be
measured. The program must then store these weights then should sort the weights in
descending order. The program must also calculate the average weight. In the end, the average
weight together with the sorted numbers must be displayed. Figure 2 below shows the expected
program in operation.
Expert Solution
![](/static/compass_v2/shared-icons/check-mark.png)
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 4 steps with 2 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:
9780357392676
Author:
FREUND, Steven
Publisher:
CENGAGE L
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:
9780357392676
Author:
FREUND, Steven
Publisher:
CENGAGE L
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage
![A Guide to SQL](https://www.bartleby.com/isbn_cover_images/9781111527273/9781111527273_smallCoverImage.gif)
A Guide to SQL
Computer Science
ISBN:
9781111527273
Author:
Philip J. Pratt
Publisher:
Course Technology Ptr
![Programming with Microsoft Visual Basic 2017](https://www.bartleby.com/isbn_cover_images/9781337102124/9781337102124_smallCoverImage.gif)
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
![Oracle 12c: SQL](https://www.bartleby.com/isbn_cover_images/9781305251038/9781305251038_smallCoverImage.gif)