Advertisement
akosiraff

DriversLicense C++

Jan 13th, 2014
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.89 KB | None | 0 0
  1.  
  2. Download: http://solutionzip.com/downloads/driverslicense-c/
  3. The local drivers license office has asked you to create an application that grades the written portion
  4. of the license exam. The exam has 20 mulitple-choice questions. Here art he correct answers (numbers does not need to be included in a array)
  5. 1. B
  6. 2.D
  7. 3.A
  8. 4.A
  9. 5.C
  10. 6.A
  11. 7.B
  12. 8.A
  13. 9.C
  14. 10.D
  15. 11.B
  16. 12.C
  17. 13.D
  18. 14.A
  19. 15.D
  20. 16.C
  21. 17.C
  22. 18.B
  23. 19.D
  24. 20.A
  25. Your program should store these correct asnwers in an array1. The program should then read the students answers for each of the 20 questions from a text file that is provided and store the answers in another array2 (parallel) Once the arrays are set you then must pass both arrays into a function that will test whether the student passed or failed (15 correct is passing). Then return passed or failed to main() and output.
  26. Download: http://solutionzip.com/downloads/driverslicense-c/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement