#include <stdio.h>
void
readex (double *op1, double *op2)
{
char plus;
scanf ("%lf %c %lf", op1, &plus, op2);
}
int
main(void)
{
double a, b, c;
printf ("Enter an addition expression (eg: 4.5+3.5): ");
readex (&a, &b);
c = a + b;
printf("%lf + %lf is %lf.\n",a,b,c);
return(0);
}