CSD201_-_FE_-_SU_2023_400.webp
Rukia123

CSD201_-_FE_-_SU_2023_400.webp

  • Media owner Rukia123
  • Ngày thêm
(Choose 1 answer)
void fun(int n)
Consider the following function:{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!
B. That's all!
C. ***
That's all!
D.
E23

Thông tin

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

Image metadata

Filename
CSD201_-_FE_-_SU_2023_400.webp
File size
50.7 KB
Dimensions
1542px x 690px

Share this media

Back
Bên trên Bottom