CSD201_-_SU_2023_-_Block_5_-_FE_736.webp
Kokushibo91

CSD201_-_SU_2023_-_Block_5_-_FE_736.webp

(Choose 1 answer)
Consider the following pseudocode:declare a stack of characters
while(there are more characters in the word to read)
A. riSgMoo
{read a character if a character is '*' then
B. riSgMor
pop the stack
else
C. GoMg
push the character into the stack
D. riSgMoG
} 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"?
antonis ni

Ex 32
  • Like
Reactions: Hoàng Hùng

Thông tin

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

Image metadata

Filename
CSD201_-_SU_2023_-_Block_5_-_FE_736.webp
File size
53.3 KB
Dimensions
1542px x 690px

Share this media

Back
Bên trên Bottom