fork download
  1. /**************************************************************************
  2. * AUTHOR : Matthew van der Steen *
  3. * STUDENT ID : 1340832 *
  4. * LAB #1 : IDEOne *
  5. * CLASS : CS1A *
  6. * SECTION : MTWTh 3PM - 5:35PM *
  7. * DUE DATE : 6/23/2025 *
  8. *************************************************************************/
  9. #include <iostream>
  10. #include <iomanip>
  11. using namespace std;
  12.  
  13. int main ()
  14. {
  15. /**********************************************************************
  16. * CONSTANTS
  17. * --------------------------------------------------------------------
  18. * PROGRAMMER : Programmer's Name
  19. * CLASS : Student's Course
  20. * SECTION : Class Days and Time
  21. * LAB_NUM : Lab Number
  22. * LAB_NAME : Title of the Lab
  23. *********************************************************************/
  24. const char PROGRAMMER[30] = "Matthew van der Steen";
  25. const char CLASS[5] = "CS1A";
  26. const char SECTION[25] = "MTWTh 3PM - 5:35PM";
  27. const int LAB_NUM = 1;
  28. const char LAB_NAME[17] = "IDEOne";
  29.  
  30. cout << left;
  31. cout << "**************************************************";
  32. cout << "\n* PROGRAMMED BY : " << PROGRAMMER;
  33. cout << "\n* " << setw(14) << "CLASS" << ": " << CLASS;
  34. cout << "\n* " << setw(14) << "SECTION" << ": " << SECTION;
  35. cout << "\n* LAB #" << setw(9) << LAB_NUM << ": " << LAB_NAME;
  36. cout << "\n**************************************************\n\n";
  37. cout << right;
  38.  
  39. return 0;
  40. }
  41.  
  42.  
Success #stdin #stdout 0.01s 5320KB
stdin
Standard input is empty
stdout
**************************************************
* PROGRAMMED BY : Matthew van der Steen
* CLASS         : CS1A
* SECTION       : MTWTh 3PM - 5:35PM
* LAB #1        : IDEOne
**************************************************