Question: Submitty will check that a function exists with exactly the given name, that it does the calculation, and that it is called three times. 2.

 Submitty will check that a function exists with exactly the given

Submitty will check that a function exists with exactly the given name, that it does the calculation, and that it is called three times. 2. Write a function called frame_string that takes a string as an argument. Its job is to print that string with a frame around it, just like in Lab 2. Unlike the other functions we have written frame_string does not need and therefore should not have a return statement. Write code to call the function two times. For the first call pass the string Spanish Inquisition. For the second call , pass the string Ni . Print a blank line between calls. The output should be ** Spanish Inquisition ** ** Ni ** ***** In addition to checking the output, we will check that you wrote a function called frame_string and that your code calls this function twice. For extra practice, but not to be uploaded to Submitty, solve the following: 1. Add code to your first function that has a second parameter which is the minimum temperature in Fahrenheit. If the converted temperature is less than this, use this minimum value. Write code to run this modified function using the value 459.67 and test that it works correctly. 2. Add code to the second program you wrote to print out the result of the calls to frame_string ne that indicates there is no

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 Databases Questions!