Question: a) the function Frazzle has a control variable. which variable is the control variable. Give your reason. b) one variable in frazzle is completely useless.

 a) the function Frazzle has a control variable. which variable is a) the function Frazzle has a control variable. which variable is the control variable. Give your reason. b) one variable in frazzle is completely useless. if you remove it, as well as the calculations involving it, Frazzle would return the same results. Which is the useless variable? c) rewrite the above program without using the user definition function and removing the useless variable. Your rewritten program must return the same results of the original program.

#include int Frazzle(int p) { int x, a, b, cd; x = a = b = c d = 2; while (p > x) { a = b; x= x + 1; c= a*b; d = a*b* } retum (c); void main() intt, end; printf(" End of table?: "); scanf("%d", &end); for (t = 1; t

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!