Bob copping

Bob copping

  • NA
  • 1
  • 1.2k

write a array program

Dec 4 2012 2:14 PM
1) Store information into arrays: first name, last name, address, city, state, zip, phone number, 1 homework average, 3 test scores and one final exam. Read these in from a file.
2) Sort these according to last name first, then first name second.
3) Calculate the final grade by weighting each test score by 20%, the homework average by 15%, and the final exam by 25%.
4) Print out in table format the first and last name, homework average, test scores, final exam score, and the calculated final grade. This should be printed to a file.
Must use functions for most of your work! Don't forget to document each function with correct comments!

using c++