Output - ITVABAsign2 (run) x run: *****wclcome to siyagijima Gym"*** Enter the number of people you will be recording: 6 ea Enter the weight of 6 people Input weight: 89 Input woight: 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)

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
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 Şiyagijima 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.
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 Şiyagijima 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.
E Output - ITJVABAssign2 (run) x
run:
*****wclcome 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 SUCCESSFUL (total time: 14 seconds)
Figure 2 - Siyagijima App in operation
Transcribed Image Text:E Output - ITJVABAssign2 (run) x run: *****wclcome 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 SUCCESSFUL (total time: 14 seconds) Figure 2 - Siyagijima App in operation
Expert Solution
steps

Step by step

Solved in 6 steps with 4 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY