Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

Complete the synthesis (1) (2) (4) H2SO4CrO3

Answered: 1 week ago

Question

Understand why succession management is important.

Answered: 1 week ago

Question

internationalization of business?

Answered: 1 week ago