Lab Sheet 1
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, each year and average over the range of years specified. Use arrays to construct a table, display the table of expenditure and find the sum and average.
Write a program to find the position of the character 'C' in the sentence "idea without execution is worthless" using pointer and string.
Store and retrieve the name of the students and obtained marks in c programming in 1st semester using structure.
Write a program to read name, rollno, address, and phone number of each student in your class using structure. Store the information in file so that you can recover the information later. While recovering the information from the file sort the information alphabetically according to the name.