Question: CIS 2 4 1 Winter 2 0 2 4 - Section 0 1 : Lab 1 Maximum Points: 1 0 0 ( 3 % of
CIS Winter Section : LabMaximum Points: of the final gradeDue at :PM on Monday, January Please finish this lab individuallyOn BlackBoard, there are FileIOc and inputtxtFileIOc reads characters from inputtxtand write them without change to a new file outputtxtIn this Lab, you need to finish the following tasks Download FileIOc and inputtxt from BlackBoard, and store them in the same directory Compile and run FileIOc using the following commands:gcc FileIO.c o FileIO.FileIO Modify FileIOc and rename it using your last name to meet the following requirements: If the character in inputtxt is a lowercase letter, your program converts it into anuppercase letter and write it to outputtxt If the character in inputtxt is an uppercase letter, your program converts it into alowercase letter and write it to outputtxt If the character in inputtxt is not a letter, your program just writes it to outputtxtwithout change. Your program should also check the number of commandline arguments. If more thanone commandline argument are provided, your program should print This program doesnot allow more than one commandline argument! on the screen, and exit immediately.For example, if you run your program as follows:.YourLastName Since there are two commandline arguments ieYourLastName and in theabove example, your program should print This program does not allow more than onecommandline argument! on the screen, and exit immediately without accessing thefiles Compile and run your modified program.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
