how would u write these 2 programms.

Printable View