K Chapter 4 Project - new Fall 10-21-20... Project Name: Chpt4_Project Class Name: Chpt4_Project Write a Java program that accepts names of members on a tug of war team, computes their total weight, and determines if their total is less than the maximum weight allowed. There can be no more than three members on the team. This is an international competition and the maximum team weight is 272.16 kg, which is 600 lbs. The formula to convert lbs to kg is: Inputs: The name of the team, its members’ names, and the weight of each member. The name variables must be strings and weight variables must be doubles. The member weights will be entered in lbs and must be converted to kg to determine if the team exceeds the maximum weight allowed. The name of the team is: Enter the name of member 1: Enter the weight of member 1 in lbs (must be decimal value): Enter the name of member 2: Enter the weight of member 2 in lbs (must be decimal value): Enter the name of member 3:

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

I'm having trouble on finding out how to do this on my Java eclipse. How would I solve this coding. 

1:36
LTE O
Chapter 4 Project - new Fall 10-21-20...
Project Name: Chpt4_Project
Class Name: Chpt4_Project
Write a Java program that accepts names of members on a tug of war
team, computes their total weight, and determines if their total is less than
the maximum weight allowed. There can be no more than three members
on the team. This is an international competition and the maximum team
weight is 272.16 kg, which is 600 lbs.
The formula to convert lbs to kg is:
Inputs: The name of the team, its members' names, and the weight of each
member. The name variables must be strings and weight variables must
be doubles. The member weights will be entered in lbs and must be
converted to kg to determine if the team exceeds the maximum weight
allowed.
The name of the team is:
Enter the name of member 1:
Enter the weight of member 1 in lbs (must be decimal value):
Enter the name of member 2:
Enter the weight of member 2 in lbs (must be decimal value):
Enter the name of member 3:
Enter the weight of member 3 in lbs (must be decimal value):
Outputs: There will be two lines of output:
1. The name of the team, and its member's names.
Team <team name> members: <names of members separated by
commas.
2. The total weight of the team is <total weight> kg, and is <under or not
under> the maximum.
will
Step 1. Create an algorithm (either flowchart or pseudocode) that
use to write the program.
you
Step 2. Code the program in Eclipse to read in the team name,
names, and member weights. Determine if the team's total weight exceeds
the maximum. Use a printf statement to format the amount of weight in
kg to 2 decimal places.
member
Step 3. Test your program using the following data. Also test the program
with a team that exceeds the weight limits and display the team is over the
limit.
<terminated> C4_Project_Fall_20 [Java Application] C:\Program Files\Java\jdk-14.0.2\bin\javaw.exe (Oct 21, 2020 12:20:19 PM – 12:20:44 PM)
The name of the team is: Goliath
Enter the name of member 1: John
Enter the weight of member 1 in lbs (must be decimal value): 195
Enter the pene of member 2: Sam
Enter theeight of member 2 in lbs (must be decimal value): 205
Enter the name of member 3: Jim
Enter the weight of member 3 in lbs (must be decimal value): 197
Team Goliath members: John, Sam, and Jim
The total weight of the team is 270.80 kg and is under the maximum.
11
81
Dashboard
Calendar
Notifications
Inbox
Transcribed Image Text:1:36 LTE O Chapter 4 Project - new Fall 10-21-20... Project Name: Chpt4_Project Class Name: Chpt4_Project Write a Java program that accepts names of members on a tug of war team, computes their total weight, and determines if their total is less than the maximum weight allowed. There can be no more than three members on the team. This is an international competition and the maximum team weight is 272.16 kg, which is 600 lbs. The formula to convert lbs to kg is: Inputs: The name of the team, its members' names, and the weight of each member. The name variables must be strings and weight variables must be doubles. The member weights will be entered in lbs and must be converted to kg to determine if the team exceeds the maximum weight allowed. The name of the team is: Enter the name of member 1: Enter the weight of member 1 in lbs (must be decimal value): Enter the name of member 2: Enter the weight of member 2 in lbs (must be decimal value): Enter the name of member 3: Enter the weight of member 3 in lbs (must be decimal value): Outputs: There will be two lines of output: 1. The name of the team, and its member's names. Team <team name> members: <names of members separated by commas. 2. The total weight of the team is <total weight> kg, and is <under or not under> the maximum. will Step 1. Create an algorithm (either flowchart or pseudocode) that use to write the program. you Step 2. Code the program in Eclipse to read in the team name, names, and member weights. Determine if the team's total weight exceeds the maximum. Use a printf statement to format the amount of weight in kg to 2 decimal places. member Step 3. Test your program using the following data. Also test the program with a team that exceeds the weight limits and display the team is over the limit. <terminated> C4_Project_Fall_20 [Java Application] C:\Program Files\Java\jdk-14.0.2\bin\javaw.exe (Oct 21, 2020 12:20:19 PM – 12:20:44 PM) The name of the team is: Goliath Enter the name of member 1: John Enter the weight of member 1 in lbs (must be decimal value): 195 Enter the pene of member 2: Sam Enter theeight of member 2 in lbs (must be decimal value): 205 Enter the name of member 3: Jim Enter the weight of member 3 in lbs (must be decimal value): 197 Team Goliath members: John, Sam, and Jim The total weight of the team is 270.80 kg and is under the maximum. 11 81 Dashboard Calendar Notifications Inbox
Expert Solution
Step 1

Java program that accepts names of members on a tug of war team, computes their total weight, and determines if their total is less than the maximum weight allowed.

trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps with 2 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