Got the idea but cannot write in code... help me

Printable View