0
/ 50
Write a function called makeExcited
that receives a char
and permanently changes the value of it so that it becomes an exclamation mark (...
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 feedback will appear here when you check your answer.