Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
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