[SOLVED] LAB 0

20.00 $

Programming resource
, Digital learning resource
Categories: ,
Practical programming resource
Suitable for guided study and reference
Tutor guidance available when needed

Description

5/5 - (2 votes)
LAB 0-The Basics Code Include name, lab…..LAB 0-The basics
Code
Include name, lab #, and date
Output at bottom as a comment
Output as a separate file
The problem you are solving is as follows (adapted from Lab 0 Word document):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 print statements.
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
Resource details

Understand the Task Before You Use the Resource

Review the requirements, identify the programming concepts involved, study the implementation and test your understanding with your own examples and modifications.