Unit 2 Write Code for Toggle Code¶
This is the write code problems associated with the mixed up code problems.
Write code that prints a random number from 1 to 50.
Write code that prints the first 2 characters of the message followed by the last 2 characters of the message using the appropriate String methods.
Write code that prints the first letters in first, middle, and last in lowercase letters using the appropriate String methods.
Write code that prints the message in all uppercase letters using the appropriate String methods.
Write code that prints the first 3 letters of the message in uppercase letters using the appropriate String methods.
Write code that print the part of the message starting with the word “nice” using the appropriate String methods.
You have attempted of activities on this page