Lab Sheet 1
Review exercises in C programming
Write a program to find the average expenditure of a company for each month of each year, the average of each year, and the average for months over the range of years specified. Use arrays to construct a table, display the table of expenditure, and the sum and average as specified.
Write a program to find the position of the character 'C' in the sentence "idea without execution is worthless" using pointers and string.
Write a program to read and display the names of students and their obtained marks in programming using structures.
Write a program to read the name, roll number, address, and phone number of each student in your class using structures. Store the information in a file so that you can recover it later. While recovering the information from the file, sort the information alphabetically according to the name.