Question: Click Submit to complete this assessment. Question 1 Write the main function for this program. 1. Store the word Amazon into a string variable. 2.

Click Submit to complete this assessment. Question 1 Write the main function for this program. 1. Store the word Amazon into a string variable. 2. Print the variable to the console, 3. Use indexing or a string function to print the second letter of the string. 4. Use indexing or a string function to print the last letter of the string. Example Output Amazon m n Arial 3 (12pt) TE Click Submit to complete this assessment. Question 1 Write the main function for this program. 1. Store the word Amazon into a string variable. 2. Print the variable to the console, 3. Use indexing or a string function to print the second letter of the string. 4. Use indexing or a string function to print the last letter of the string. Example Output Amazon m n Arial 3 (12pt) TE
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
