Question: You are tasked to make your output exactly look like what is presented. If you get a space or character in your output that does

You are tasked to make your output exactly look like what is presented. If you get a space or character in your output that does not match the assigned Zylab output you wont get the points. make sure you end your printf() outputs with a newline!
Test your output one step at a time rather than try to troubleshoot the entire problem. 1.) First use a printf statement to print out the input that was stored in the variable userNum. 2.) Now create/add two more printf statements that output the expressions shown: square = userNum * userNum and cubed = userNum * userNUm * userNum. 3.) Now create a second local declaration (userNum2) to store a second user input. Prompt the user to enter in the value then use the scanf function to read and store it.4.) create two print statements that print out the sum and product of userNum and UserNum2.

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