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. First use a printf statement to print out the input that was stored in the variable userNum. Now createadd two more printf statements that output the expressions shown: square userNum userNum and cubed userNum userNUm userNum. Now create a second local declaration userNum to store a second user input. Prompt the user to enter in the value then use the scanf function to read and store it create two print statements that print out the sum and product of userNum and UserNum
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
