fork download
  1. /**************************************************************************
  2. * AUTHOR : David Azzolina *
  3. * STUDENT ID : 1262340 *
  4. * LAB #1 : IDEone Lab *
  5. * CLASS : CS1A *
  6. * SECTION : TTh 10:30AM - 12:50PM *
  7. * DUE DATE : 1/26/2023 *
  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] = "David Azzolina";
  26. const char CLASS[5] = "CS1A";
  27. const char SECTION[25] = "TTh 10:30AM - 12:50PM";
  28. const int LAB_NUM = 1;
  29. const char LAB_NAME[17] = "IDEone Lab";
  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. }
Success #stdin #stdout 0.01s 5392KB
stdin
Standard input is empty
stdout
**************************************************
* PROGRAMMED BY : David Azzolina
* CLASS         : CS1A
* SECTION       : TTh 10:30AM - 12:50PM
* LAB #1        : IDEone Lab
**************************************************