Advertisement
akosiraff

Download LAB 0-The basics Code C++ Answer

Jul 5th, 2017
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.90 KB | None | 0 0
  1.  
  2. Download: https://solutionzip.com/downloads/lab-0-the-basics-code/
  3. LAB 0-The basics
  4. Code
  5. Include name, lab #, and date
  6. Output at bottom as a comment
  7. Output as a separate file
  8. 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.
  9. int main()
  10. {
  11. return 0;
  12. }
  13. Inside those curly brackets and before the return statement you will be typing lots of print statements.
  14. 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.
  15. Download: https://solutionzip.com/downloads/lab-0-the-basics-code/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement