Extend my rules

Completed Posted May 25, 2010 Paid on delivery
Completed Paid on delivery

The rules is set up correctly. I need you to change that it can count for 3 question, 6 questions, then 9 questions.

For example,

Start Level 1:

ICI -- Stay on the same level

ICICIC - check the 6 questions rule (3 out of 6 questions are correct) - stay on the same level

ICICICICC - check the 9 questions rule (5 out of 9 questions are correct) - STOP and print the level

-----------------

Our current logic is this:

Start Level 1:

ICI - Stay on the same level

ICI ICICIC - It check the last 6 questions ...did not include the first 3 questions ...(3 out of 6 questions) - stay on the same level

ICI ICICICICC - It check the last 9 questions....did not include the first 3 questions....(5 out of 9 questions) - STOP and print the level

**I need you to fix this so it can include the first 3 questions when the exam start.**

----------------------------------------------

These are the rules that I need you to set up

Start at Level 1:

Check the first 3 questions:

3 correct - move up

mixed - stay the same level

3 incorrect - move down

Check the total 6 questions: (add 3 questions above)

4+ correct - move up

3 correct - stay the same level

2 or less - move down

Check the total of 9 questions: (add 6 questions above)

6+ correct - move up

5 correct - stay the same level and STOP

4 or less correct - move down and STOP

SPECIAL -

3 straight correct answer - move up

3 straight incorrect answer - move down

PHP SQL

Project ID: #695947

About the project

1 proposal Remote project Active May 25, 2010

Awarded to:

SSemenov

It's me. Please select me.

$100 USD in 5 days
(95 Reviews)
6.7