Professional Documents
Culture Documents
Week # 6
NAME:Vida, John Paul S. SCORE PERCENTAGE
YEAR/SECTION:”3rdYear/SBIT-3L
DATE: February 23, 2023
Flowchart:
Pseudocode:
Source Code:
QUEZON CITY UNIVERSITY
COLLEGE OF COMPUTER SCIENCE AND INFORMATION TECHNOLOGY
Displaying the game, Tower of Hanoi.
Rules: the big disk can’t be put on top of a smaller
disk.
The user can’t make a move if the chosen tower is
empty, it will ask the user infinitely until they
make a valid move.