hi, guys help me to write code in applets for below questions

Printable View