Answer:
It depends on the structure of the sentence.
Explanation:
This will be shown as grammatical mistake because both the spellings are correct. If we write the word weather instead of the whether, Ms word shows the grammatical mistake. This is because, if we want to write the word whether, we should use or in our sentence. Both of these words are comes together.
Example
I will take a leave whether its raining or not.
In above sentence, both whether and or comes together. If we write weather instead of whether it just show the grammatical mistake in the sentence.
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.
Answer: b. actuator
Explanation:
We know that a RW head ( or also known as read/write head) is a component of device which is usually appeared on the hard drive which is used to read and write data by the hard drive's disk . When data required to be read or write, the read/write arm is regulated by actuator.
[An actuator is a part of a device that is mainly responsible for moving and controlling a mechanism or system.]
Hence, All the read/write heads a hard disk are controlled by an actuator .
Answer:
Underline the important text.
Make Links a Different Colour.
Making visual adjustments such as making text bold, making it italicized, making it ALL CAPS.