Solved: Write a program to create a class roster using an array…
1.Write a program to create a class roster using an array.The program prompts the teacher to enter student’s names and gpa values.
2.Write a program to keep inventory of apples kept in a grocery store. The day starts with 100 apples. Prompt the user of the program to enter the number of apples sold that day and the number of apples delivered that day and display the result. Use a static data member.