Solved Implement Following Problem And Submit The Code

Solved Implement Following Problem And Submit The Code