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 100 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 100 characters.
Note: You can use the functions definee
Assignment: Declare a char array named userInput

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!