Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Click on Develop mode, and change the output statement to output a newline: print ( userNumSquared ) . Type 2 in the input box and
Click on "Develop mode", and change the output statement to output a newline: printuserNumSquared Type in the input box and run.
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started