Page:4SIGHT manual- a computer program for modelling degradation of underground low level waste concrete vaults (IA 4sightmanualcomp5612snyd).pdf/103

From Wikisource
Jump to navigation Jump to search
This page needs to be proofread.
22. INTERRUPT HANDLERS
B.11

26. The routine div_0 handles possible divide by zero errors.

⟨Interrupt handlers 24⟩ 
 void div_0(void)
 {
   int i, j, k;
   printf ("\n\n\tPossible_divide_by_o!\n\n");
   ⟨Print desired output 78⟩
   exit(1);
 }