010-001-003

String Operations: String Info

Medium

Problem Description

In this problem, you will create a program that takes a string as input and displays its length, uppercase conversion, lowercase conversion, first character, and last character in sequence.

Problem Overview

Create a program that inputs a string and displays information about it.

Input Format

Input 1 line of string.

Output Format

Display the following information:

Original: [original string]
Length: [character count]
Uppercase: [uppercase conversion]
Lowercase: [lowercase conversion]
First char: [first character]
Last char: [last character]

Ready to Try Running Code?

Log in to access the code editor and execute your solutions for this problem.

Don't have an account?

Sign Up