CSD201_-_SP_2025_-_FE_3621.webp
Kim Anh1

CSD201_-_SP_2025_-_FE_3621.webp

  • Media owner Kim Anh1
  • Ngày thêm
☑Kizspy.me
(Choose 1 answer)
☐ A
Back
Next
Consider the following pseudocode:
declare a stack of characters
while(there are more characters in the word to read)
{read a character
}
if a character is '*' then
pop the stack
else
push the character into the stack
while(the stack is not empty)
pop and write the poped character to the screen
What is written to the screen for the input "Good**Morn**in***gSir" ?
A. riSgMoG
B. riSgMoo
C. GoMg
D. riSgMor
FUO.sh
sh the exam.

Thông tin

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

Share this media

Back
Bên trên Bottom