How to give disk numbers

https://ide.codingblocks.com/s/397110…
hi,My code is giving correct output for steps but how to print disk numbers.

see this: