Professional Documents
Culture Documents
PROBLEM EXERCISE
1. Write a C program to count characters, words and lines in a text file in the song “Take
Me Home, Country Roads” Song by John Denver.
2. Write a C program to create a file and write data into file, a message will print if the
process is successful and Error message if otherwise.
SAMPLE OUTPUT:
3. Write a C program to append the content of one file to the end of another file in a Food
Delivery App.
SAMPLE MENU:
Adobo – 120.00
Menudo – 85.00
Ngohiong – 20.00
Siomai – 40.00