Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Problem 1: Write a function that takes a temperature in Celsius as an argument. Your function will convert the temperature to Fahrenheit and Kelvin. Fahrenheit

image text in transcribed

Problem 1: Write a function that takes a temperature in Celsius as an argument. Your function will convert the temperature to Fahrenheit and Kelvin. Fahrenheit equals Celsius times 1.8 plus 32. Kelvin equals Celsius plus 273.15. Once you have calculated the temperatures you should print out a message giving the user all 3 temperatures and their units. Problem 2: Given the images below, write a function that calculates the area and volume of a cylinder. Your function should take 2 arguments. Once you have the area and volume, print messages telling the user the area and volume. Example Output: The given height was 2 and the given radius was 1 The area of the cylinder is 18.84955592153876 The volume of the cylinder is 6.283185307179586 A = 2 ar? + h(2ar) V=arah r r h mathwarehouse.com methwarehouse.com

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

C++ Database Development

Authors: Al Stevens

1st Edition

1558283579, 978-1558283572

Students also viewed these Databases questions

Question

Provide examples of Dimensional Tables.

Answered: 1 week ago