You are on page 1of 2

Machine Problem 2: Prog21

Create a complete C# program that will compute for the minimum number of moves based on the
inputted number of disks.

PSEUDOCODE

BEGIN

Do

Prompt user to enter disc number

Save input to variable disc

Convert disc to int

min = (2 raised to disc) - 1

Print min

Prompt user to try again

while User input != "N"

ENDDO

END
FLOWCHART

You might also like