Answer:
- #include <iostream>
- using namespace std;
- int main()
- {
- cout<<"NAME:\t";
- cout<<"James\\";
- cout<<"E-MAIL:\t";
- cout<<"James_email_domain\\";
- cout << "MAJOR:\t";
- cout <<"Computer Science\\";
- cout << "COMPUTER EXPERIENCE:\t";
- cout <<"Three years of C++ Programming\\";
- return 0;
- }
Step-by-step explanation:
In C++, we can use cout as the output stream to print value to console terminal. In this question, we can write another four statements to display the name, email, major and computer experiences to console terminal using cout (Line 8, 10, 12, 14). The \\ in each cout statement is an escape sequence to print a new line. This will prevent the subsequent line of string joined with the previous line that would affect readability of the output.