CBENU4CSE20310's submissions for Write a function