Click here to Skip to main content
16,019,514 members
Home / Discussions / Algorithms
   

Algorithms

 
GeneralRe: Need help inverting a laplace function Pin
MarkB77712-May-08 13:30
MarkB77712-May-08 13:30 
GeneralNeed suggestion on the S-box. Pin
Cryptogrpahy29-Apr-08 1:42
Cryptogrpahy29-Apr-08 1:42 
AnswerRe: Need suggestion on the S-box. Pin
73Zeppelin4-May-08 1:46
73Zeppelin4-May-08 1:46 
QuestionHI ALL Pin
johnzfrebbies@24-Apr-08 15:17
johnzfrebbies@24-Apr-08 15:17 
GeneralRe: HI ALL Pin
cp987624-Apr-08 18:04
cp987624-Apr-08 18:04 
GeneralRe: HI ALL Pin
CPallini25-Apr-08 9:59
mveCPallini25-Apr-08 9:59 
GeneralRe: HI ALL Pin
Tim Craig25-Apr-08 20:52
Tim Craig25-Apr-08 20:52 
GeneralHI there Pin
johnzfrebbies@27-Apr-08 14:20
johnzfrebbies@27-Apr-08 14:20 
thanks for the response...
"could you if you could," help with a start on getting the two files into an array for comparison to get a 0 or 1 value and the add 1 to counter with printed results.? YOU'LL SEE ME GROW I'm new and will not give up.. eventually I'll have the chance to be knowledgeable and help lazy homeworkers. If not, could you point me to another person with a sense of humor. Big Grin | :-D




project for c++ and need help. Source CODE IN C++

the word problem:
the department of motor vehicles administers a written driver's exam consisting of 20 multiple choice questions. an applicant for the drivers license exam answers these questions electronically and the answers are stored in a file named xxxxyyy.dat (where xxxx are the last four digits of the ID number, and the yyy are the first three letters of their last name) in other words, each applicants file will be uniquely named. the file containing the correct answers to questions is named ANSWERS.DAT
write a program that will read the contents of the ANSWERS.DAT file into an array (with the size of 20). program should read the applicants answer file into a second array (also 20) the logic of the program should the 'check' the applicants answer to a question and compare it to the 'correct' answer. the program should keep a tally of the number of questions correctly answerd, and the tally of incorrect answers. Finally the program should cout whether or not the applicant 'passed' or 'failed' the exam. they must answer at least 15 questions correctly to pass. program should indicate "PASS" or "FAIL" along with the number of INCORRECT and CORRECT.

following layout for program centered:
Department of Motor Vehicles
Driver's Exam

answered 99 questions correctly.
answered 99 questions incorrectly.

results for this portion of exam: XXXX

AND THATS ALL ALSO FOR AN EXAMPLE .DAT FILE '1278BOB.DAT' AND MULTIPLE CHOICE a,b,c,d
GeneralCross post Pin
MarkB77726-Apr-08 21:38
MarkB77726-Apr-08 21:38 
GeneralRe: HI ALL Pin
Roger Wright28-Apr-08 5:56
professionalRoger Wright28-Apr-08 5:56 
GeneralRe: HI ALL Pin
johnzfrebbies@28-Apr-08 14:51
johnzfrebbies@28-Apr-08 14:51 
QuestionRe: HI ALL Pin
David Crow28-Apr-08 6:20
David Crow28-Apr-08 6:20 
GeneralRe: HI ALL Pin
johnzfrebbies@28-Apr-08 15:03
johnzfrebbies@28-Apr-08 15:03 
GeneralRe: HI ALL Pin
David Crow29-Apr-08 3:36
David Crow29-Apr-08 3:36 
GeneralRe: HI ALL Pin
johnzfrebbies@29-Apr-08 15:35
johnzfrebbies@29-Apr-08 15:35 
GeneralRe: HI ALL Pin
73Zeppelin28-Apr-08 22:02
73Zeppelin28-Apr-08 22:02 
GeneralRe: HI ALL Pin
johnzfrebbies@29-Apr-08 15:27
johnzfrebbies@29-Apr-08 15:27 
QuestionRe: HI ALL Pin
David Crow29-Apr-08 16:32
David Crow29-Apr-08 16:32 
AnswerRe: HI ALL Pin
johnzfrebbies@29-Apr-08 16:42
johnzfrebbies@29-Apr-08 16:42 
AnswerRe: HI ALL Pin
73Zeppelin29-Apr-08 20:21
73Zeppelin29-Apr-08 20:21 
GeneralRe: HI ALL Pin
johnzfrebbies@30-Apr-08 2:06
johnzfrebbies@30-Apr-08 2:06 
GeneralRe: HI ALL Pin
David Crow30-Apr-08 3:08
David Crow30-Apr-08 3:08 
AnswerRe: HI ALL Pin
73Zeppelin30-Apr-08 3:19
73Zeppelin30-Apr-08 3:19 
AnswerRe: HI ALL Pin
johnzfrebbies@29-Apr-08 16:43
johnzfrebbies@29-Apr-08 16:43 
GeneralRe: HI ALL [modified] Pin
73Zeppelin29-Apr-08 20:02
73Zeppelin29-Apr-08 20:02 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.