Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In this problem you must create functions to solve each criteria. The first criteria is to solve the area of a circle. The function will

In this problem you must create functions to solve each criteria. The first criteria is to solve the area of a circle. The function will have the parameter of radius and the function will calculate the area of the circle with the radius and Pi. Then it will return the area of the circle. Return the value, not a print statement. Parameters for the function will be pi and radius.area of a circle = Pi * r^2Repeat for the remaining criterias:Total due = money +(money * tax) : money and tax rate are the parameters for the function. Return total due.Celsius =(Fahrenheit -32)*(5/9) : Convert Fahrenheit to Celsius temperature where Fahrenheit is the parameter for the function. This function will return the Celsius value.This should be one program with three separate functions. The program will use print statements to print the values returned from the functions.InputPrompt for the input as shown below. Data will be entered from console. You do not need to edit the input data. Rerun your application to test each test case.OutputThe correct answer to each criteria.Test Data - Area of a CircleInputOutput10314.166113.1241809.56212.5713.14Test Data - TaxesInput - MoneyInput - Tax RateOutput206%21.20544%56.16688%73.44 Test Data - TemperatureInputOutput3208026.66677322.7778425.55556

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

Databases DeMYSTiFieD

Authors: Andy Oppel

2nd Edition

0071747990, 978-0071747998

More Books

Students also viewed these Databases questions