Question: I Need to make a python program for this please, structured English is on the bottom. #Program Comments Display application name print(title) Prompt for team
I Need to make a python program for this please, structured English is on the bottom.
#Program Comments
Display application name print(title)
Prompt for team size input(prompt) assign the user input to a variable called teamSize
Loop over the following code teamSize number of times:
Prompt for weight loss by a team member use input() and assign the user input to a variable
called weightLoss
If the value is negative prompt again for a valid value and assign into a variable weightLoss
accumulate the weightloss in a totalWeightLoss variable
Calculate the averageWeightLoss= totalWeightLoss/teamSize
Display average weight loss print
VS CODE LAB - LOOPING - ROUND 2 REQUIREMENTS DOCUMENT 2/19/2019 Team Weight Loss Calculator Date: Application Title: Purpose: This application calculates average weight loss for a team of a given size specified by the end user. Program Procedure: The user enters the team size and weight loss for each team member to compute the average weight loss for the entire team. Algorithms, Processing, & Conditions: 1. The user will first see the application name. 2. The user must be able to enter team size. 3. The user must be able to enter weight loss by each team member in pounds 4. After all weight loss amounts are entered, the program calculates and displays the average weight loss for the team in pounds, using decimal value. Notes and Restrictions: 1. If the weight entered is negative, the user should be prompted to enter a positive value for the weight loss
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
