CSD201_-_SP_2025_-_Block_5_-_1_3848.webp
royal_peace

CSD201_-_SP_2025_-_Block_5_-_1_3848.webp

☑Kizspy.me
(Choose 1 answer)
☐ A
☐ E
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 and write the poped character to the screen
else
push the character into the stack
What is written to the screen for the input "Good**Mor*ni***ng*Sir" ?
A. GooMong
B. dorinM
Back
Next
FUO.sh
sh the exam.
C. dorinog
D. dorioM
E. dorinogM

Thông tin

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

Share this media

Back
Bên trên Bottom