trying to write a program for this

Printable View