pls edit if any mistakes….i'd be glad if u let me know the corrections to be made in the code...:)