diff options
author | WWDillingham WesleyDillingham <wwdillingham@sugarlabs.org> | 2009-07-07 04:06:21 (GMT) |
---|---|---|
committer | WWDillingham WesleyDillingham <wwdillingham@sugarlabs.org> | 2009-07-07 04:06:21 (GMT) |
commit | 896aeaff80a7a84e6f70d03779d63ca3480489e7 (patch) | |
tree | dc95215ff59ee3086a6f315a2b595f5a470e0727 | |
parent | 5af3c40f281f9d85ee45ebc787962b10ef7c93db (diff) |
commenting
-rw-r--r-- | order_of_operations_parser.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/order_of_operations_parser.php b/order_of_operations_parser.php index 7b59d8f..6dbe8a6 100644 --- a/order_of_operations_parser.php +++ b/order_of_operations_parser.php @@ -56,7 +56,6 @@ for (i=0;i<=$numRecords;i++) } -// This will be like the main portion of awk //in this loop we will cycle through each line of the .dat file and analyze the third field (or token) // so for instance $3 in token form is tok[2] for (i=0;i<=$numRecords;i++) @@ -228,7 +227,7 @@ for (i=0;i<=$numRecords;i++) } } -} //ending for loop (equivalent to awk main) +} /* @@ -250,7 +249,6 @@ foreach ($Class as $student) } } -//echo "Student, Only +, Contains +, Only -, Contains -, Only *, Contains *, Only /, Contains /, Understands OoO?" //printing formatted data sprintf("%-11s%-8s%-11s%-8s%-11s%-8s%-11s%-8s%-11s%-11s\n", $student, int($only_addition_correct[$student]*100/$only_addition[$student]), int($contains_addition_correct[$student]*100/$contains_addition[$student]), int($only_subtraction_correct[$student]*100/$only_subtraction[$student]), int($contains_subtraction_correct[$student]*100/$contains_subtraction[$student]), int($only_multiplication_correct[$student]*100/$only_multiplication[$student]), int($contains_multiplication_correct[$student]*100/$contains_multiplication[$student]), int($only_division_correct[$student]*100/$only_division[$student]), int($contains_division_correct[$student]*100/$contains_division[$student]), $understands) |