Program that inputs the name of a gym member

Assignment Help C/C++ Programming
Reference no: EM132432265

You own a gym and need 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!

Reference no: EM132432265

Questions Cloud

How would the case benefits of program are worth the cost : Discuss how pragmatics and political pressures can come into play when evaluators report their findings. Which of these issues might you anticipate arising
Presenting Evaluation Findings to Stakeholders Assignment : Presenting Evaluation Findings to Stakeholders Assignment help and solutions:- Discuss the Conclusions of the Evaluation Findings to Stakeholders
Prepare the journal entries for the years : Prepare the journal entries for the years 2018 to 2020 to record income tax expense and the effects of the net operating loss carry forwards
How human beings have been treated : Which, if any, of the three principles from the Belmont Report were violated in the Tuskegee Syphilis Study? How human beings have been treated
Program that inputs the name of a gym member : You own a gym and need a program that inputs the name of a gym member, their original weight in lbs before joining the gym
How human beings have been treated : Which, if any, of the three principles from the Belmont Report were violated in the Tuskegee Syphilis Study? How human beings have been treated
Determine amount to be capitalized as cost of backhoe : Sciaritti Landscapings paid installation costs amounting to $42,000. Determine the amount to be capitalized as the cost of the backhoe
What should one full year of depreciation expense : Automated Audit Company Co. (AACC) purchased land as a factory site for $1,700,000. What should one full year of depreciation expense
What are the outcomes of stars who spoke on women rights : What are the positive and Negative outcomes of Stars who spoke on women rights

Reviews

Write a Review

C/C++ Programming Questions & Answers

  What is a c-string

What is a C-string? What are some of the similarities and differences between a character array and a C-string

  Write a program that calculate the area of a rectangle

C programming For Gifted Brain- Using a user defined functions, write a program that calculate the area of a rectangle given the length and the width.

  What is object oriented programming

What is OOP? Basics concepts of object oriented programming - Explain the concepts in detail

  Use while loop to find the digit of integer

Take a user input integer, and print out the digit by digit. (can enter any positive number, e.g. 123, 34567,37,... )(hint: first you need to find the digit

  Write a program that prints the day number of the year

Write a program that prints the day number of the year, given the date in the form month-day-year. For example, if the input is 1-1-2006, the day number is 1.

  Write in simple basic c language

Prompt the user for 3 sentences of text. Pass these pieces of text into a function connect() which will connect all three sentences into one long sentence. Pass the combination sentence back to the main program, where it is printed.

  Create a base shape use this class to store two double

Create a base shape. Use this class to store two double type values that could be used to compute the area of figures. Derive two specific classes called triangle and rectangle from the base shape. Add to the base class, a member function get_data() ..

  Use a for loop to generate 100 random numbers.

Use a For Loop to generate 100 random numbers. Determine the most current maximum and minimum number as the random numbers are being generated. This is referred tp as a "running" maximum and minimum. Display the running maximum and minimum values as ..

  Program to compute and show miles per gallon

Create the program in C++ which will input miles driven and gallons used (both as integers) for each tankful. Program must compute and show miles per gallon.

  Program for keeping course list for each student in college

Write a program for keeping a course list for each student in a college. The information about each student should be kept in an object that contains the student's name and a list of courses completed by the student.

  Prepare a program for sorting the numbers

Write a program that orders three double numbers by increasing value. The program should include a function named sort3 that takes three double * arguments (pointer to double). The function prototype is void sort3(double *x, double *y, double *z);

  Write the output of the program

Design a C++ program that will interactively prompt for and read the name of the input file interactively prompt for and read the name of a file to write the output of the program to write the following to the specified output file your name, sect..

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd