I tried framing the question but was unable could u plz provide me with some code so that i can proceed

plz provide the solutions if possible

Hello @asinghal1_be19
Check this code: