#include <stdio.h>
#include <stdlib.h>
int main(void)
{
int divident = 50;
int divisor = 0;
int quotient;
if (divisor == 0)
{
fprintf (stderr,"Division by zero ! aborting.....\n");
exit(EXIT_FAILURE);
}
else
{
quotient=divident /divisor ;
exit (EXIT_SUCCESS);
}
}
No comments:
Post a Comment