Question: You are to write a program that takes input from input.txt and outputs the information to output.txt. The input file will contain the course name,

You are to write a program that takes input from "input.txt" andYou are to write a program that takes input from "input.txt" and outputs the information to "output.txt". The input file will contain the course name, the building code, the room, the number of seats in the room, and the number of students already registered for the course. After processing this information you will output in a tabulated format the following information; Subject, Building, Room, and Open Seats.

When printing to the output file use the iomanip functions setw, setfill, right, and left to exactly match the formatting of the output.txt linked below. Use C++ as the programming language.

Input text example/link provided is CSC_101 TEC 202 44 37

output text exapmple/ link provided is

Subject Building Room Open Seats .............. .............. .............. .............. CSC_101 TEC 202 7

Lab 3 arch paper1 https://us e.com/courses/30072/assignments/288583 CSC 101L H002> Assignments > Lab 3 pr 2019 Lab 3 Submit Assignment Home Due Wednesday by 11:59pm Points 100 Submitting a file upload Available Feb 20 at 12am - Feb 20 at 11:59pm 1 day File Types cpp, png. jpg, zip, tgz, and h Assignments You are to write a program that takes input from "input txt" and outputs the information t'output txt". The input file will contain the course name, the building code, the room, the number of seats in the room, and the number of students already registered for the course. After processing this information you will output in a tabulated format the fallowing information; Subject, Building. Room, and Open Seats. Grades People Files Syllabus Quizzes Modules Conferences Collaborations Chat Office 365 When printing to the output file use the iomanip functions setw, setfill, right, and left to exactly match the formatting of the output.txt linked below. Inbox Help & Example output.txt Previous Next Ainput 1).txt Show allX output xt O Type here to search 1052 AM 2/20/2019 17

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!