Okay, so I'm a bit confused... here are my instructions for making a program:
1. Input each test result (i.e. a 1 or a 2). Display the message " Enter result" on the screen each time the program requests another test result.
2. Count the number of test results of each type.
I have no idea how to do number 2 the only thing I know how to do is like... record a variable. (using the cin>>) I don't know how I would actually count how many times something was entered.
Any help? I think the book I'm using is crazy and asking me to make programs of stuff I haven't learned yet.. (Awesome book).