Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

ACTIVITY 1 . 1 7 . 1 . Computing an average. Write a single statement that assigns avg _ sales with the average of num

ACTIVITY 1.17.1. Computing an average. Write a single statement that assigns avg_sales with the average of num_sales1, num_sales2 and num_sales3. Sample output with inputs 348 Average sales: 5.00Given sphere_radius and pi, compute the volume of a sphere and assign to sphere_volume. Volume of sphere =(4.03.0)r3
Sample output with input: 1.0
Sphere volume: 4.19
Learn how our autograder works
543046.3884724. qx3zqy7
pi =3.14159
sphere_volume =0.0
sphere_radius = float input ()
image text in transcribed

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

Step: 3

blur-text-image

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

Oracle 11G SQL

Authors: Joan Casteel

2nd Edition

1133947360, 978-1133947363

More Books

Students also viewed these Databases questions

Question

What is the purpose of job hazard analysis?

Answered: 1 week ago

Question

=+Are the contracts enforceable?

Answered: 1 week ago