Question
1. Calculate the sum and the average of three scores that will be input by the user. Outputs will be all inputs and calculated data.
1. Calculate the sum and the average of three scores that will be input by the user. Outputs will be all inputs and calculated data.
2. Using the value of radius, calculate the area and the circumference of a circle. Output will be all inputs and calculated data. Note: area is pi * r^2 and circumference is 2 * pi * r ( represents pi which is approximately 3.14159 and r represents radius).
3. Using the number of ounces read in as input, calculate the number of pounds and ounces left over. For example:
Use case 1: User enters 17 ounces
Output: 1 lbs 1 ounce left over
Use case 2: User enter 19 ounces
Output: 1 lbs 3 ounces left over
You are not allowed to use modulus. You should only use the four basic arithmetic operators.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started