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" 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started