Name: ____________________________________________________ Alpha: _____________________
Describe help received: _________________________________________________________________
hw.c that reads two points and outputs its midpoint.
Sample run:
$ ./hw (2.4,0.1) (6.2,9.4) (4.300000,4.750000)Note::
scanf doen't skip space unless it is told to do so.
// DON'T DO THIS
scanf("%c", &c);
// BUT DO THIS
scanf(" %c", &c); //" " before %c tells scanf to skip space
~/bin/submit -c=IC210 -p=hw35 hw.c