\t inserts a tab in the output.
Modify your schedule program to output your schedule in this format.
The cout statements should use tabs instead of blank spaces to get everything to line up. Sample output :
These two lines cout <<"Period\tClass\tTeacher" << endl; cout <<"Period 1\tStudy Hall\tSmith"<< endl; Produces this output
Notice the columns do NOT line up. Add \t (tabs) where you need to in order to get all the columns to line up. Changing the first two lines to this will do that: cout <<"Period\t\tClass\t\tTeacher" << endl; cout <<"Period 1\tStudy Hall\tSmith"<< endl;
Write a program to output the following output using tabs to line up columns
Br Ca Ho LaN Law Mac McH McL Po Sm St Va Not Listed
Last Name :
Email : If you don't have an email address, use student@brentwoodhigh.com
Select one of the following that describes when and why you are filling out this form: This assignment is in on time. This assignment is in on time, being resubmitted due to a failed submission (I have a copy of the original submission). This assignment is a corrected submission for half the missed credit. This assignment is one day late and will lose 15%. This assignment is more than one day late (half credit at best). This assignment is late because of an EXCUSED absence. This assignment is being resubmitted at the request of the teacher.
Updated: Wednesday, January 13, 2010 11:38 AM
Submit the source code with IDOC and sample output.