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