Answer:
#include <iostream>
using namespace std;
int main()
{
string str;
cout<<"Enter the string: ";
cin>>str;
for(int i=0;str[i]!='\0';i++){
if(str[i]=='e'){
str[i]='x';
}
}
cout<<"the string is: "<<str<<endl;
return 0;
}
Explanation:
First, include the library iostream for using the input/output instructions.
Create the main function and declare the variables.
Then, use the cout instruction and print the message on the screen.
cin store the string enter by the user into a variable.
After that, take a for loop and if-else statement for checking the condition if the string contains the 'e', then change that alphabet to 'x'.
This process continues until the string not empty.
Finally, print the updated string.
Answer:
"Quotes"
Slashes \//
How '"confounding' "\" it is!
Explanation:
The question above is testing your knowledge of the "\" escape sequence, This escape sequence is used to introduce special formatting to the output of the System.out.print function in Java.
It can be used to introduce a new line \n
It can also be used to introduce a tab indentation \t
As in the question above it is used to introduce double quotes "" in this case \"
Also as we see the question above it can still be used to place backlashes to an output in this case we use two backlashes \\. The first is the escape sequence, the second \ gets printed out.
The formatting tool is very important. When one effectively understands the various formatting options available in the word processing software application, one can be able to;
- Make more accessible options for readers through creating and use of headings, highlighting key words or ideas etc.
- Formatting any document helps one to have a presentable and professional document.
- It makes the document easier and a lot interesting to read.
- It helps in Proper punctuation marks and spelling usefulness.
<h3>What is formatting in MS Word?</h3>
Formatting text is simply known as the act of controlling how one wants a particular text to appears in your document. This includes the control of the size, color, etc.
Learn more about word processing software from
brainly.com/question/1022352
He should pick the most reliable one.
Hope this helps.
Cache are the temporary files that are downloaded onto your computer while going on a website, to clear this, you are getting rid of any of the cache. Not what you downloaded yourself, what the internet page downloaded for you.