Question: Notice how the output does NOT show what the user typed. It makes the output look strange, but know that it skips the user input
Notice how the output does NOT show what the user typed. It makes the output look strange, but know that it skips the user input when in Submit mode. The input is actually shown in the box above the output. This is just something you should be aware of you will get used to it Develop mode is a better way to check if your output is correct.
Matching output exactly, even whitespace, is often required. Change the program to output an ending newline.
Click on "Develop mode", and change the output statement to output a newline: cout userNumSquared endl;.
Click on "Submit mode", click "Submit for grading", and observe that now the first test case passes and point was earned.
The last two test cases failed, due to a bug, yielding only of possible points. Fix that bug.
Click on "Develop mode", change the program to use rather than and try running with input output is and output is now not as before
Click on "Submit mode" again, and click "Submit for grading". Observe that all test cases are passed, and you've earned of points.
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
