Write a program that asks user's weight in pounds and then asks if the user is a man or a woman. It should then output the weight category in which the user can compete for boxing at the Olympics. Following are the weight categories used. Weight in pounds can be converted into kilograms (kg) by dividing by 2.20462. Test your program and submit the program file.

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter5: Control Structures Ii (repetition)
Section: Chapter Questions
Problem 19PE
icon
Related questions
Question
Python
Write a program that asks user's weight in
pounds and then asks if the user is a man or a
woman. It should then output the weight
category in which the user can compete for
boxing at the Olympics. Following are the weight
categories used. Weight in pounds can be
converted into kilograms (kg) by dividing by
2.20462. Test your program and submit the
program file.
Transcribed Image Text:Write a program that asks user's weight in pounds and then asks if the user is a man or a woman. It should then output the weight category in which the user can compete for boxing at the Olympics. Following are the weight categories used. Weight in pounds can be converted into kilograms (kg) by dividing by 2.20462. Test your program and submit the program file.
Men's boxing at Olympics uses the following
weight classes:
Up to 49 kg: Light flyweight
Up to 52 kg: Flyweight
Up to 56 kg: Bantomweight
Up to 60 kg: Lightweight
Up to 64 kg: Light welterweight
Up to 69 kg: Welterweight
Up to 75 kg: Middleweight
Up to 81 kg: Light heavyweight
Up to 91 kg: Heavyweight
No limit: Super heavyweight
Transcribed Image Text:Men's boxing at Olympics uses the following weight classes: Up to 49 kg: Light flyweight Up to 52 kg: Flyweight Up to 56 kg: Bantomweight Up to 60 kg: Lightweight Up to 64 kg: Light welterweight Up to 69 kg: Welterweight Up to 75 kg: Middleweight Up to 81 kg: Light heavyweight Up to 91 kg: Heavyweight No limit: Super heavyweight
Expert Solution
steps

Step by step

Solved in 4 steps with 2 images

Blurred answer
Knowledge Booster
Random Class and its operations
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.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,