Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Download: http://solutionzip.com/downloads/driverslicense-c/
- The local drivers license office has asked you to create an application that grades the written portion
- 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)
- 1. B
- 2.D
- 3.A
- 4.A
- 5.C
- 6.A
- 7.B
- 8.A
- 9.C
- 10.D
- 11.B
- 12.C
- 13.D
- 14.A
- 15.D
- 16.C
- 17.C
- 18.B
- 19.D
- 20.A
- 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.
- Download: http://solutionzip.com/downloads/driverslicense-c/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement