CBENU4CSE22415's submissions for Write a function