/* what the user enters: */ char name1[] = "force in newtons"; char name2[] = "mass in kg"; /* what this file's calc() function produces: */ char name3[] = "acceleration in m/s**2"; double calc(double force, double mass) /* returns acceleration */ { return force / mass; /* a = f/m */ }