JavaScript isn't enabled in your browser, so this file can't be opened. Enable and reload.
Feedback Quiz
/**
* Sums the numbers from num to 0 recursively. Assumes positive input.
**/
public int Sum( int num ){
if( num <= 0 )
return 0;
else{
return Sum(num - 1);
}
}
* Indicates required question
What kind of issue do you see in this code?
*
Compiler Error
Runtime Error
Logical Bug
Style and Feedback
What would you do to correct the issue?
*
Your answer
Next
Page 1 of 5
Clear form
Never submit passwords through Google Forms.
Forms
This form was created inside of Mount Holyoke College.
Report Abuse
Terms of Service
Privacy Policy
Help and feedback
Contact form owner
Help Forms improve
Report