Click here to Skip to main content
15,914,820 members
Home / Discussions / Algorithms
   

Algorithms

 
QuestionNeed help inverting a laplace function [modified] Pin
MarkB7773-May-08 20:38
MarkB7773-May-08 20:38 
AnswerRe: Need help inverting a laplace function Pin
73Zeppelin4-May-08 0:29
73Zeppelin4-May-08 0:29 
GeneralRe: Need help inverting a laplace function Pin
MarkB7776-May-08 21:36
MarkB7776-May-08 21:36 
AnswerRe: Need help inverting a laplace function Pin
Roger Alsing11-May-08 21:48
Roger Alsing11-May-08 21:48 
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 
WELL I HOPE ALL USERS ARE IN GOOD SPIRITS...FOR TOMORROW IS A FRIDAY AND RELIEF TO A WEEK.
I'M A FRIENDLY NEWBIE POWERUSER WITH AN OPEN MIND AND WEAK HEART.
I have a project for c++ and I need help for the first time. 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
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 
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 

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.