Chapter 4 Project 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 member. 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: kg = lb 2.2046 Inputs: The name of the team, its members' names, and the weight of each member. The name variables must strings and weight variables must be doubles. The member weights will be entered in lbs and must be converte 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 members: kg, and is the maximum. Step 1. Create an algorithm (either flowchart or pseudocode) that you will use to write the program. Step 2. Code the program in Eclipse to read in the team name, member names, and member weights. Determine if th team's total weight exceeds the maximum. Use a printf statement to format the amount of weight in kg to 2 decimal places. 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. Q Search L
Chapter 4 Project 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 member. 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: kg = lb 2.2046 Inputs: The name of the team, its members' names, and the weight of each member. The name variables must strings and weight variables must be doubles. The member weights will be entered in lbs and must be converte 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 members: kg, and is the maximum. Step 1. Create an algorithm (either flowchart or pseudocode) that you will use to write the program. Step 2. Code the program in Eclipse to read in the team name, member names, and member weights. Determine if th team's total weight exceeds the maximum. Use a printf statement to format the amount of weight in kg to 2 decimal places. 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. Q Search L
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
Related questions
Question
Expert Solution
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 2 steps
Recommended textbooks for you
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)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
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)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education