I'm taking my first programming class in C++ and am having a hard time understanding exactly what is being asked in my first assignment. Could someone please clarify what is being asked? From what I understand it is asking me to start a simple process with the int(main), then enter the cout statements provided below. I'm not sure what it's asking when it says to write a statement to output the information because i thought that's what cout did. Obviously I can't ask for an answer, but could someone please point me in the right direction on what is being asked by that?
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
This program is going to have just one function. Its name will be main. In fact every program in ‘C++’ will have a function called main. The computer needs to know where the execution starts.
int main()
{
return 0;
}
Inside those curly brackets and before the return statement you will be typing lots of cout statements to print out information. There us no input forthis problem.
cout<<“NAME:\t”;
cout <<“E-MAIL:\t”;
cout <<”MAJOR:\t”;
cout << “COMPUTER EXPERIENCE:\t”;
After each of the COUT statements given above, write another statement to output the information. So you will have at least eight statements in all.
You will submit 1) the .cpp file with both the code and the output shown as a comment at the bottom, and 2) the .txt file showing the output only.