subject

CODING IN C++ URGENT HELP PLEASE Submit BOTH code and output. Make sure to include comments that are descriptive of the code blocks you create in your program throughout the program. Use proper indentation and spacing.

Part II: Coding (50 points)
You own a gym and need to write a program that inputs the name of a gym member, their original weight in lbs before joining the gym, the number of pounds he or she lost, and the % of total weight that was lost (loss/original weight)*100. The program should then output that member name, the percentage of loss of weight/original weight and his or her current weight. Make sure the output shows decimal values. Here is some sample output. User input is shown in bold. Make sure the user inputs the name (Jane, Dennis, Harry), the weight and the pounds lost in your runs. Do not have the program output the names after the question. Use cin!

What is the member’s name? Jane

How much did you weigh? 180

How many pounds have you lost? 20

The member Jane has lost 11.10 % of weight and now weighs 160 pounds.

Program terminates, and user runs it again

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 22:00
Match the steps of the process to julia's analysis. 1. analyze choices. current costs for making phone calls to foreign countries averages between five and ten cents a minute. 2. determine the goals. julia needs to reduce the cost of telecommunications without reducing her employees' ability to do their jobs. 3. gather data. the corporate computer network will be able to handle the increased traffic that will occur as a result of voip. 4. evaluate the decision. julia will have her it department set up voip in the smallest domestic office. 5. make the decision. julia will have employees document the benefits and problems that result from using the new technology.
Answers: 1
question
Computers and Technology, 21.06.2019 23:10
Write a method that accepts a string object as an argument and returns the number of words it contains. for instance, if the argument is "four score and seven years ago", the method should return the number 6. demonstrate the method in a program that asks the user to input a string and then passes that string into the method, printing out whatever the method returns.
Answers: 3
question
Computers and Technology, 24.06.2019 10:20
Write a program that keeps asking the user for new values to be added to a list until the user enters 'exit' ('exit' should not be added to the list). these values entered by the user are added to a list we call 'initial_list'. then write a function that takes this initial_list as input and returns another list with 3 copies of every value in the initial_list. finally, inside print out all of the values in the new list. for example: input: enter value to be added to list: a enter value to be added to list: b enter value to be added to list: c enter value to be added to list: exit output: a b c a b c a b c note how 'exit' is not added to the list. also, your program needs to be able to handle any variation of 'exit' such as 'exit', 'exit' etc. and treat them all as 'exit'.
Answers: 2
question
Computers and Technology, 25.06.2019 02:30
Technology has changed communications by replacing or supplementing traditional modes of communication that were primarily
Answers: 2
You know the right answer?
CODING IN C++ URGENT HELP PLEASE Submit BOTH code and output. Make sure to include comments that ar...
Questions
question
Physics, 18.04.2021 14:00
question
Business, 18.04.2021 14:00
question
Chemistry, 18.04.2021 14:00
question
Mathematics, 18.04.2021 14:00
question
Mathematics, 18.04.2021 14:00
question
Mathematics, 18.04.2021 14:00
question
Mathematics, 18.04.2021 14:00
Questions on the website: 13722360