PRF192_-_PT02_-_SP_2024_1513.webp
maik205

PRF192_-_PT02_-_SP_2024_1513.webp

  • Media owner maik205
  • Ngày thêm
Question 7
Answer saved
Marked out of 1.00
What is the output when the sample code is executed?
int i,x=0;
for(i=1;i<10;i++)
{
if(i%2==1)
x=x+i;
else x--;
}
printf("%d",x);
O a. 25
Ob. 19
c. 21
O d. 1
Clear my choice

Thông tin

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

Share this media

Back
Bên trên Bottom