fork download
  1. #include <iostream>
  2. #include <iomanip>
  3. using namespace std;
  4.  
  5. int main ()
  6. {
  7. const char PROGRAMMER[30] = "Aiden Stannard";
  8. const char CLASS[5] = "CS1A";
  9. const char SECTION[25] = "TTh 6PM - 8:20PM";
  10. const int LAB_NUM = 1;
  11. const char LAB_NAME[17] = "IDEOne";
  12.  
  13. cout << left;
  14. cout << "**************************************************";
  15. cout << "\n* PROGRAMMED BY : " << PROGRAMMER;
  16. cout << "\n* " << setw(14) << "CLASS" << ": " << CLASS;
  17. cout << "\n* " << setw(14) << "SECTION" << ": " << SECTION;
  18. cout << "\n* LAB #" << setw(9) << LAB_NUM << ": " << LAB_NAME;
  19. cout << "\n**************************************************\n\n";
  20. cout << right;
  21.  
  22. return 0;
  23. }
Success #stdin #stdout 0s 5320KB
stdin
Standard input is empty
stdout
**************************************************
* PROGRAMMED BY : Aiden Stannard
* CLASS         : CS1A
* SECTION       : TTh 6PM - 8:20PM
* LAB #1        : IDEOne
**************************************************