Puting your ideas together every write has to do that and also gather true information, and making a intering story for your readers.
<u>Virus outbreaks in an organization:</u>
In an organization end user who uses the computer or laptop or workstation is not aware of virus outbreaks. So As IT administrator of an organization she/he has aware of latest virus attack and rectification solution before outbreaks.
Common causes for this virus outbreaks problem is update virus definition or database. Update operating system patches on regular basis.
Installation appropriate anti-virus in each workstation or desktop or laptop and scheduling virus scanning and take necessary steps.
To address and troubleshoot disconnect workstation and desktop or laptop from LAN. Uninstalled unnecessary software, delete temp folder contents.
Answer:
#include <iostream>
#include <cstring>
using namespace std;
void replacePeriod(char* phrase) {
int i = 0;
while(*(phrase + i) != '\0')
{
if(*(phrase + i) == '.')
*(phrase + i) = '!';
i++;
}
}
int main() {
const int STRING_SIZE = 50;
char sentence[STRING_SIZE];
strcpy(sentence, "Hello. I'm Miley. Nice to meet you.");
replacePeriod(sentence);
cout << "Updated sentence: " << endl;
cout << sentence << endl;
return 0;
}
Explanation:
- Create a function called replacePeriod that takes a pointer of type char as a parameter.
- Loop through the end of phrase, check if phrase has a period and then replace it with a sign of exclamation.
- Inside the main function, define the sentence and pass it as an argument to the replacePeriod function.
- Finally display the updated sentence.