COSC 1436 Lab #8

profileCSpro
lab.pdf

Lab 08 C++

Using the flowchart for Lab #08 as a guide, write a C++ program that does the same

thing. Your C++ program must also use two procedures (called functions in C++) to input

the student responses and to determine how many answers were correct.

Remember Raptor arrays start at 1, but C++ arrays start at 0.

Here is what the function header for inputAnswers should look like;

void inputAnswers(char given[ ] )

The numRight function should return an int.

There is no extra credit for the C++ version of this assignment, but you may, if you wish,

submit a program which is the C++ equivalent of the extra credit version of the Lab 08

Flowchart.

Test your program to make sure it works properly, and then upload just the C++ code in

the TurnItIn assignment.