Question: In this exercise, you'll write a function named quadruple to compute the quadruple of a number. The quadruple of a number is itself times four:

In this exercise, you'll write a function named quadruple to compute the quadruple of a number. The quadruple of a number is itself times four: Your function should take one parameter and return the quadrupled value. Your function should return the quadruple of the number, not print It. Instead, you'll need to store the value returned by the function call into a variable.
For example, the following code should put the value 12 in x.
x= quadruple(3)
Call your quadrupie function at least two times with dlfferent numbers, and print the results each time to check your function's output.
 In this exercise, you'll write a function named quadruple to compute

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!