Hi there ! i need a bit of help as i am a new c++ user to write a
program. The program should ask the user n questions or until the user
enters -1 to Exit (n should be a constant and it should be equal to the
largest digit in your ID number; for example: if your id number is
S0930350, n should be 9). The program should generate the following
report.
Total number of questions asked
The number of questions correctly answered
The number of questions incorrectly answered
The correct percentage ((correct answers/total questions)*100)
Total number of input prime (Prime-Even + Prime-Odd), even and odd
numbers. Note an input number may be in more than one category - 2 is
both a Prime-Even and an even number.
The average value of all input prime numbers
The largest number of all input even numbers
The smallest number of all input odd numbers
mail me if u can help...tahnks
program. The program should ask the user n questions or until the user
enters -1 to Exit (n should be a constant and it should be equal to the
largest digit in your ID number; for example: if your id number is
S0930350, n should be 9). The program should generate the following
report.
Total number of questions asked
The number of questions correctly answered
The number of questions incorrectly answered
The correct percentage ((correct answers/total questions)*100)
Total number of input prime (Prime-Even + Prime-Odd), even and odd
numbers. Note an input number may be in more than one category - 2 is
both a Prime-Even and an even number.
The average value of all input prime numbers
The largest number of all input even numbers
The smallest number of all input odd numbers
mail me if u can help...tahnks
Comment