What would have to be changed in the code if the while statement
were changed to:
while (menu == 5);
Code is as follows
#include <stdio.h>
void printHelp ()
{
printf ("\n");
printf ("a: a(x) = x*x\n");
printf ("b: b(x) = x*x*x\n");
printf ("c: c(x) = x^2 + 2*x + 7\n");
printf ("d: shrink(x) = x/2\n");
printf ("q: quit\n");
}
void a(float x)
{
float v = x*x;
printf (" a(%.2f) = %.2f^2 = %.2f\n", x, x, v);
} //...