Solved Based On The Following Code Fragments Code

Solved Based On The Following Code Fragments Code