Question: 1. Design a function called cuber with one parameter that will compute then display a number raised to the 3rd power (cubed) 2. Using

1. Design a function called cuber with one parameter that will compute then display a number raised to the

1. Design a function called cuber with one parameter that will compute then display a number raised to the 3rd power (cubed) 2. Using the input statement, ask the user for a number with the prompt: #? (no and assign it to a variable, convert the variable to an integer and assign it to the same variable as well. 3. Then, still in your code, call the cuber function using the user entered variable as the parameter to display the cubed value of the number Exercise B 1. Design a function called friends with one parameter that will concatenate the user's name to the word hello. For example, if user provides the name 'Jane', display Hello Jane! 2. Using an input statement, ask the user for a name with the prompt: Name? (no and assign it to a variable, then call the friends function using the user entered variable as the parameter to display the friendly hello message.

Step by Step Solution

3.52 Rating (152 Votes )

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!