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 09:40
It is vital to research each of the services you plan to disable before implementing any change, especially on critical machines such as the: a. servers in the test environment. b. domain controller and other infrastructure servers. c. desktops that have previously been attacked. d. desktops used by upper-level management.
Answers: 2
question
Computers and Technology, 23.06.2019 17:30
Scientists have changed the model of the atom as they have gathered new evidence. one of the atomic models is shown below. what experimental evidence led to the development of this atomic model from the one before it? a few of the positive particles aimed at a gold foil seemed to bounce back. the colors of light emitted from heated atoms had very specific energies. experiments with water vapor showed that elements combine in specific proportions. cathode rays were bent in the same way whenever a magnet was brought near them.
Answers: 2
question
Computers and Technology, 24.06.2019 00:30
Match the sentence fragment in the first column with the appropriate ending in the second column. a little per favore?
Answers: 1
question
Computers and Technology, 24.06.2019 04:30
How do you share someone elseโ€™s tweet with your own twitter followers?
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
Biology, 11.03.2020 03:00
question
Mathematics, 11.03.2020 03:00
question
History, 11.03.2020 03:00
question
Mathematics, 11.03.2020 03:00
question
Mathematics, 11.03.2020 03:00
question
Mathematics, 11.03.2020 03:00
question
Mathematics, 11.03.2020 03:00
Questions on the website: 13722363