1. Create a directory called (use your name 2. Inside directory (Your name), create the following: a. A file called friends.t 1. Create a directory called (use your name 2. Inside directory (Your name), create the following: a. A file called friends.txt. b. A file called section.dat c. A directory called temp d. A file called first.c , Then write the below hello program in it. 3. Make a copy of the file friends.txt into the directory temp, but with a new name new.txt 4. Edit friends.txt file to a. Type in the names of 3 of your friends. One name in each line. b. Use the sort command to sort the contents of friends.txt alphabetically 5. Compile the first.c file using the following commands. gcc first.c -o results /results a. b. 6. Save your work. #include int main() { printf(“Hello, world!”); return ;



Source link

Leave a Reply

Your email address will not be published.