X772: Make character exciting in C++

Write a function called makeExcited that receives a char and permanently changes the value of it so that it becomes an exclamation mark (!) if it is either a period (.) or a question mark (?). Any other value should remain the same.

Your Answer:

Reset

Practice a different C++ exercise

Feedback

Your feedback will appear here when you check your answer.