/* Program suite to illustrate input of several numbers */
/*    this is program 3 */

#include <stdio.h>

int
main (void)
{
  double a, b;
  int numRead;
  
  printf ("part 3:  reading two values, separated by single quote\n");

  printf ("      enter values: ");
  numRead = scanf  ("%lf'%lf", &a, &b);

  printf ("      %d values read:  %lf  %lf\n\n", numRead, a, b);

  /* interesting test cases:
          1.5-3.5
          1.5'2.5
          1.5 '2.5
          1.5' 2.5
          1.5 ' 2.5  */
  return 0;
} // main
