CSD201_-_SP_2025_-_Block_5_-_1_3848.webp
royal_peace

CSD201_-_SP_2025_-_Block_5_-_1_3848.webp

☑Kizspy.me
(Choose 1 answer)
☐ A
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!
Back
Next
FUO.sh
sh the exam.
**
B. That's all!
**
C. ***
That's all!
D.
**
***
*
That's all!

Thông tin

Category
CSD201
Thêm bởi
royal_peace
Ngày thêm
Lượt xem
2,955
Lượt bình luận
2
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom