Once the loop finishes, you have the converted number, and you can simply pop the individual digits off the stack to see the results. Here’s one implementation of the program:
Once the loop finishes, you have the converted number, and you can simplypop the individual digits off the stack to see the results. Here’s one implementation of the program:
Sau khi kết thúc vòng lặp, bạn có số lượng chuyển đổi, và bạn chỉ có thể bật các chữ số cá nhân ra khỏi ngăn xếp để xem kết quả. Đây là một trong thực hiện chương trình: