Question: 3. Function One: freezing Specification The first function you will write should be called 'freezing'. Your function should take one (1) argument, a float containing

3. Function One: freezing Specification

The first function you will write should be called 'freezing'. Your function should take one (1) argument, a float containing a temperature in Celsius. The function should return one (1) string containing one of the following two values: 'freezing' or 'not freezing'. If the argument is greater than 0, your function should return 'not freezing', otherwise, it should return 'freezing'. To get credit you must use a two-way decision structure (if-else statement).

Testing: Make your own test cases.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!