I have a few questions. I have to write a program which draws data from a file, and compares two strings, character by character. If the characters match, is counts as 'correct'. If not, then it counts as 'incorrect'. Then I must count the number correct, and convert that into a percentage.
1.) How do I have the user input and call a file from the keyboard?
2.) How do I compare the srings character by character without the program ending as soon as it encounters a mismatch?
3.) How do I count the number of correct answers?
Thanks for any help you can offer.