1. Engineering
  2. Computer Science
  3. c...

Question: c...

Question details

Complete the function to replace any period by an exclamation point. Ex: Hello. Im Miley. Nice to meet you. becomes Hello! Im Miley! Nice to meet you! #include <iostream» 2 #include <string> 3 using namespace std; 4 5 void MakeSentenceExcited(string& sentenceText) f 1 test passed All tests passed 9 int main) f 10 string testStr; 12 testStrHello. Im Miley. Nice to meet you. 13 MakeSentenceExcited(testStr); 14 cout << testStr; 15 16 17 return e;

C++

Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution