EOutput - ITJVA3Assign1 (run) x run: ***********Welcome to Siyafunda Maths Trivia Game *** Trivia Question 1: 9 - 3 = ? 6 That's correct, excellent! Trivia Question 2: 9 - 8 = ? 1 That's correct, excellent! Trivia Question 3: 7 - 1 = ? 4 Wrong answer. 7 - 1 should be 6 Trivia Question 4: 4 - 3 = ? 2 Wrong answer. 4 - 3 should be 1 Trivia Question 5: 7 - 2 = ? 5 That's correct, excellent! ******* Siyafunda Maths Trivia Game Results Summary********* Number of Correct Answers: 3 Time taken: 26 seconds 9-3 = 6 correct 9-8 = 1 correct 7-1 = 4 wrong 4-3 = 2 wrong 7-2 = 5 correct BUILD SUCCESSFUL (total time: 26 seconds)

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question
Answer should be in Java
E Output - ITJVA3Assign1 (run) x
run:
***********Welcome to Siyafunda Maths Trivia Game*
******
Trivia Question 1: 9 - 3 = ? 6
That's correct, excellent!
Trivia Question 2: 9 - 8 = ? 1
That's correct, excellent!
Trivia Question 3: 7 - 1 = ? 4
Wrong answer.
7 - 1 should be 6
Trivia Question 4: 4 - 3 = ? 2
Wrong answer.
4 - 3 should be 1
Trivia Question 5: 7 - 2 = ? 5
That's correct, excellent!
******* Siyafunda Maths Trivia Game Results Summary*********
Number of Correct Answers: 3
Time taken: 26 seconds
9-3 = 6 correct
9-8 =
1 correct
7-1 =
4 wrong
4-3 = 2 wrong
7-2 = 5 correct
BUILD SUCCESSFUL (total time: 26 seconds)
Transcribed Image Text:E Output - ITJVA3Assign1 (run) x run: ***********Welcome to Siyafunda Maths Trivia Game* ****** Trivia Question 1: 9 - 3 = ? 6 That's correct, excellent! Trivia Question 2: 9 - 8 = ? 1 That's correct, excellent! Trivia Question 3: 7 - 1 = ? 4 Wrong answer. 7 - 1 should be 6 Trivia Question 4: 4 - 3 = ? 2 Wrong answer. 4 - 3 should be 1 Trivia Question 5: 7 - 2 = ? 5 That's correct, excellent! ******* Siyafunda Maths Trivia Game Results Summary********* Number of Correct Answers: 3 Time taken: 26 seconds 9-3 = 6 correct 9-8 = 1 correct 7-1 = 4 wrong 4-3 = 2 wrong 7-2 = 5 correct BUILD SUCCESSFUL (total time: 26 seconds)
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.
Expert Solution
steps

Step by step

Solved in 2 steps with 3 images

Blurred answer
Knowledge Booster
User Defined DataType
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
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education