subject

Complete the function to replace any period by an exclamation point. Ex: "Hello. I'm Miley. Nice to meet you." becomes: "Hello! I'm Miley! Nice to meet you!"
#include
#include
using namespace std;
void MakeSentenceExcited(char* sentenceText) {

/* Your solution goes here */
}

int main() {
const int TEST_STR_SIZE = 50;
char testStr[TEST_STR_SIZE];
strcpy(testStr, "Hello. I'm Miley. Nice to meet you.");
MakeSentenceExcited(testStr);

cout << testStr << endl;

return 0;

}

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 20:00
What is used to analyze and summarize your data without graphical support
Answers: 1
question
Computers and Technology, 23.06.2019 06:00
How can a user delete a drawing object
Answers: 1
question
Computers and Technology, 25.06.2019 04:30
You can fit more raw files on a memory card than the jpeg files? truefalse
Answers: 1
question
Computers and Technology, 25.06.2019 06:30
How are slides deleted from a presentation?
Answers: 1
You know the right answer?
Complete the function to replace any period by an exclamation point. Ex: "Hello. I'm Miley. Nice to...
Questions
question
Mathematics, 25.02.2021 01:10
question
Chemistry, 25.02.2021 01:10
question
Mathematics, 25.02.2021 01:10
Questions on the website: 13722360