fork download
  1. /**************************************************************************
  2. * AUTHOR : Nicolas Ruano *
  3. * STUDENT ID : 1275573 *
  4. * LAB #1 : Eclipse Lab *
  5. * CLASS : CS1A *
  6. * SECTION : T&Th 01:30 P.M. - 02:50 P.M *
  7. * DUE DATE : 08/21/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] = "NIC0LAS_RUAN0";
  26. const char CLASS[5] = "CS1A";
  27. const char SECTION[35] = "T&Th 01:30 P.M. - 02:50 P.M.";
  28. const int LAB_NUM = 1;
  29. const char LAB_NAME[17] = "Eclipse Tutorial";
  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 5296KB
stdin
Standard input is empty
stdout
**************************************************
*  PROGRAMMED BY : NIC0LAS_RUAN0
*  CLASS         : CS1A
*  SECTION       : T&Th 01:30 P.M. - 02:50 P.M.
*  LAB #1        : Eclipse Tutorial
**************************************************