I basically need a C# program which has to use at least one example of a struct, an array, a function, variables, and file input/ output. I'm using visual studio 2005 as my compiler.
For the program I will have three, 5 question, True and False quizzes that the user will answer either T or F. at the end of the quizzes, when the user decides to stop playing, they will be given their score for quiz 1, quiz 2, and quiz 3 and a total score. If they get 7 or more correct answers, display" Good Job!" if not display "Better Luck Next Time!" The file input/output needs to be a .csv file from excel.
## Deliverables
I basically need a C# program which has to use at least one example of a struct, an array, a function, variables, and file input/ output. I'm using visual studio 2005 as my compiler.
For the program I will have three, 5 question, True and False quizzes that the user will answer either T or F. at the end of the quizzes, when the user decides to stop playing, they will be given their score for quiz 1, quiz 2, and quiz 3 and a total score. If they get 7 or more correct answers, display" Good Job!" if not display "Better Luck Next Time!" The file input/output needs to be a .csv file from excel.
The file I attached is an example of what our program could look like. So it HAS to stay within the scope of a program just like this. It needs to be a very simple
command line program that looks and operates similar to this one.
Please contact me A.S.A.P. I need this by Friday 12/2/08 Central Time. The course is Intro to Programming. If any other examples/files, etc are needed, please let me know.
Thanks,
Jonathan
Here are the quizzes and the correct answers for the program.
Quiz 1: Movies
1. American Graffiti won the academy award for best picture in 1973. (T or F)
Answer: False
1. The name of the nurse in ?€œOne Flew Over The Cuckoo?€™s Nest?€ is Nurse Ratched. (T or F)
Answer: True
1. In the film ?€œBraveheart?€, the character of William Wallace is played by Mel Gibson. (T or F)
Answer: True
1. In the 2003 picture, ?€œPirates of the Caribbean?€, Captain Jack Sparrow is played by Orlando Bloom. (T or F)
Answer: False
1. In the 1978 version of ?€œSuperman?€, Gene Hackman plays the villain Brainiac. (T or F)
Answer: False
Quiz 2: Music
1. The Rolling Stones formed in 1962. (T or F)
Answer: True
2. Led Zeppelin?€™s fourth album sold over 23 million copies. (T or F)
Answer: True
3. The Beatles had 27 #1 Hit songs. (T or F)
Answer: True
4. The Doors featured members from Great Britain. (T or F)
Answer: False
5. The original lineup of The Who had 6 and sometimes 7 members. (T or F)
Answer: False
Quiz 3: Comic Books
1. Superman?€™s alter ego is Clark Kent (T or F)
Answer: True
2. Spider-Man?€™s first love Gwen Stacy was killed when he accidentally snapped her neck trying to save her. (T or F)
Answer: True
3. Green Lantern?€™s power ring is powered by the users brainwaves. (T or F)
Answer: False
4. The X-Man Wolverine has no mutant powers. (T or F)
Answer: False
5. Bruce Wayne became Batman after his uncle Ben was killed by a mugger. (T or F)
Answer: False