*ANSWER THIS ASAP AND I WILL MARK YOU BRAINLIEST* To enter a string and display its length, print in uppercase, Capitalize it, slice it in 3 different words. ( string entered is : ‘tagore international school’
Answers
Answered by
1
Answer:
Approach
...Create a character array of the String
..Run a loop from the first letter to the last letter.
..Check if the character is the starting or end of the word
..Check if the character is a small letter.
...If yes, then Capitalise the character of the string
thank you ◉‿◉
hope it helps you ◉‿◉
Attachments:
Answered by
0
Answer:
Hey! This is in python...
str = input("Enter a string: ")
print("String in uppercase: ", str.upper())
print("Capitalizing the string: ", str.title())
for i in str:
print(i, end=', '))
# HOPE THIS HELPS YOU!!
Similar questions