How to convert this into a program

Printable View