Answered step by step
Verified Expert Solution
Question
1 Approved Answer
You are asked to ensure that the first and last names of people begin with a capital letter in their passpon alison heck should be
You are asked to ensure that the first and last names of people begin with a capital letter in their passpon alison heck should be capitalised correctly as Alison Heck alison heckAlison Heck Given a full name, your task is to capitalize the name appropriately. Input Format A single line of input containing the full name, S. Constraints O len(S)1000 The string consists of alphanumeric characters and spaces. Note: in a word only the first character is capitalized. Example 12abc when capitalized remains 12abc Output Format Print the capitalized string, S Sample Input chris alarn Sample Output Chris Alan
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started