Solved Write A Source Code For The Following Assignment

Solved Write A Source Code For The Following Assignment