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