Q11b
NATMarks unknownThe following program computes values of a mathematical function . Determine the form of . main () { int m, n; float x, y, t; scanf ("%f%d", &x, &n); t = 1; y = 0; m = 1; do { t *= (-x/m); y += t; } while (m++ < n); printf ("The value of y is %f", y); }
Sign in to save attempts.
Loading…