erson at the door records the weight s process by making use of a prograr statistics which the gym can make u
erson at the door records the weight s process by making use of a prograr statistics which the gym can make u
Chapter8: Working With Advanced Functions
Section: Chapter Questions
Problem 2.4CP
Related questions
Question
100%
java questions
use netbeans v 8.2 or higher
![Study the scenario and complete the question(s) that follow:
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.
Output - ITNABAssign2 (nun x
run:
*****Welcome to siyagijima Gym" .
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 SUCCESSEUL (total time: 14 seconds)
Figure 2 - Siyagijima App in operation](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F0c69aade-66bd-4faa-a8f0-b3c3b39823c8%2F595b8bb8-0e92-4a59-8145-2b908d4e6b8c%2Fyc4xj2_processed.jpeg&w=3840&q=75)
Transcribed Image Text:Study the scenario and complete the question(s) that follow:
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.
Output - ITNABAssign2 (nun x
run:
*****Welcome to siyagijima Gym" .
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 SUCCESSEUL (total time: 14 seconds)
Figure 2 - Siyagijima App 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.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 1 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
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
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:
9780357392676
Author:
FREUND, Steven
Publisher:
CENGAGE L