☑Kizspy.me
Answer (Choose 1 answer)
☐ A
Back
Next
Consider the following function:
void fun(int n)
{if (n == 0)
System.out.println("That's all!");
else
{for(int i = 1; i < n; i++)
}
}
System.out.print("*");
System.out.println();
fun(n - 1);
What is the output when the statement fun(3) is run?
A. That's all!
***
**
FUO.sh
sh the exam.
B. That's all!
**
***
C. ***
**
That's all!
D.
*
**
***
That's all!