Question: Assignment: Declare a char array named userInput of size 1 0 0 and write a statement that reads a sentence from the console input into
Assignment: Declare a char array named userInput of size and write a statement that reads a sentence from the console input into this array and displays the last character in the sentence.
Ensure your code accounts for whitespace. You can assume the length of the console input does not exceed characters.
Note: You can use the functions definee
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
