Since 2 students did not eat their animal crackers, 20 - 2 = <<20-2=18>>18 students ate their animal crackers.
The students ate a total of 18 * 10 =<<18*10=180>>180 animal crackers
#### 180