Reading and converting strings

  • 2
  • Locked
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
You can't complete this task, because you're not signed in.
Comments (1)
  • Popular
  • New
  • Old
You must be signed in to leave a comment
28 December 2022, 17:14
How come s1, s2 and s3 were not initialized in the solution?