Cognizant interview question

Given a string capitalize first letter