Read three lines from the keyboard.
And then:
1. Display the third line unchanged.
2. Display the second line after first converting it to uppercase.
3. Display the first line after first converting it to lowercase.
Example input:
Line Number TIMES
Second line
Line 3
Example output:
Line 3
SECOND
Reading and converting strings
- 2
Locked
Comments (1)
- Popular
- New
- Old
You must be signed in to leave a comment
hidden #11220344
28 December 2022, 17:14
How come s1, s2 and s3 were not initialized in the solution?
+2