/* quad.c   P. Conrad 10/25/04 For CISC105 */

#include <stdio.h>


#include <stdlib.h> /* for atof  ... if you don't include this,
		       you will get garbage results for atof */



/* int argc, char *argv[] has to do with command line parameters */

int main(int argc, char *argv[])
{
  
  double a, b, c;
  
  /* instead of doing a printf/scanf to get values for a, b, c,
     we will take them from the command line */

  a = atof(argv[1]);
  b = atof(argv[2]);
  c = atof(argv[3]);

  printf("a=%8.3lf  b=%8.3lf  c=%8.3lf \n", a, b, c);

  return (0);

}

