Question: ( Programming in Python ) 3. Write a program that begins by reading a radius, r, from the user and computes the area of the
3. Write a program that begins by reading a radius, r, from the user and computes the area of the circle having radius r. (Hint: area = r, Take = 3.1416) 4. The area of a triangle can be computed using the following formula, where b is the length of the base of the triangle, and h is its height: area = (b x h)12 Write a program that allows the user to enter values for b and h. The program should then compute and display the area of a triangle with base length b and height h
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
