Write a method called mult30 that takes a single integer parameter that is great
ID: 3887775 • Letter: W
Question
Explanation / Answer
mult3(int n) {
if ( n == 0)
return 0;
if ( n == 1)
return x;
return x + mult(n-1);
}
I hope this helps you :)
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.