0 ) { $_SESSION['user_id'] = $_REQUEST['user_id']; } $swf = "MathFactsV2-0.3-39.swf"; $flashvars = ''; if( isset( $_GET['loadq'] ) ) { $flashvars .= 'loadq='.$_GET['loadq']; } else { if( isset( $_GET['r1'] ) && is_numeric( $_GET['r1'] ) ) { $r1 = trim( $_GET['r1'] ); } else { $r1 = 1; } if( isset( $_GET['r2'] ) && is_numeric( $_GET['r2'] ) ) { $r2 = trim( $_GET['r2'] ); } else { $r2 = 10; } if( isset( $_GET['l1'] ) && is_numeric( $_GET['l1'] ) ) { $l1 = trim( $_GET['l1'] ); } else { $l1 = 1; } if( isset( $_GET['l2'] ) && is_numeric( $_GET['l2'] ) ) { $l2 = trim( $_GET['l2'] ); } else { $l2 = 10; } $flashvars .= 'left='.$l1.':'.$l2.'&right='.$r1.':'.$r2.'&op='.$op; } if( isset( $_REQUEST['op'] ) ) { switch( $_REQUEST['op'] ) { case 'add': case '+': $op = urlencode( '+' ); $title = 'Addition'; break; case 'sub': case '-': $op = '-'; $title = 'Subtraction'; break; case 'div': $op = 'div'; $title = 'Division'; break; case 'sub-noneg': $op = 'sub-noneg'; $title = 'Subtraction without negatives'; break; case 'mul': case 'X': case '*': case 'x': default: $op = 'X'; $title = 'Multiplication'; } } else { $op = 'X'; $title = 'Multiplication'; } $flashvars .= '&op='.$op; $reportlink = ''; if( isset( $_REQUEST['loadq'] ) ) { $reportlink = '&op='.$_REQUEST['loadq'].':'.$op; } else { $reportlink = 'op='.$l1.':'.$l2.$op.$r1.':'.$r2; } ?> <? echo $title; ?> MathFacts
Directions:

Click the go button and the text box after the go button disappears. Enter the answer for the given operation and press enter when you are finished. Your score is based on speed and accuracy.

Scores
Back to the main menu.