CSD201_-_SU_2023_-_Block_5_-_RE_759.webp
Vân Anh1

CSD201_-_SU_2023_-_Block_5_-_RE_759.webp

(Choose 1 answer)
Consider the following function:
void fun(int n){
if(n > 0)
{ fun(n-2);
System.out.print(" " + n);
}
}
What is the output when the statement fun(9); is run?
A. 1 3 5 7 9
B. 9 7 5 3
C. 9 7 5 31
D. 7 5 3 1


Exit 4

Thông tin

Category
CSD201
Thêm bởi
Vân Anh1
Ngày thêm
Lượt xem
3,119
Lượt bình luận
26
Rating
0.00 star(s) 0 đánh giá

Image metadata

Filename
CSD201_-_SU_2023_-_Block_5_-_RE_759.webp
File size
44.7 KB
Dimensions
1542px x 690px

Share this media

Back
Bên trên Bottom