CBENU4CSE20361's submissions for Write a function