Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

b) Write an appropriate Python code for the following: 1. Write a python program to read the radius r and the height h of a

image text in transcribed
b) Write an appropriate Python code for the following: 1. Write a python program to read the radius r and the height h of a cylinder then calculate and print its surface area SA, and then program should print "In Range" if the surface area SA is less than 100 otherwise prints "Out of Range". Hint: 7 =3.14 SA = 2x+r+ 2xtrh 2. Write a python program to read 10 integer number to calculate and print their average, then the program should print "Accept" if the average is less than 100 Otherwise print "Out of Range" s

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

Database Concepts

Authors: David Kroenke, David Auer, Scott Vandenberg, Robert Yoder

10th Edition

0137916787, 978-0137916788

More Books

Students also viewed these Databases questions

Question

Understand corporate and HRM strategy.

Answered: 1 week ago

Question

Know how productivity improvements impact quality and value.

Answered: 1 week ago

Question

Recommend the key methods to improve service productivity.

Answered: 1 week ago