identify and correct the syntax and logical errors.
Posted: Mon Jun 06, 2022 5:10 pm
5) int x = 0, total; while (++x <= 10 ) { total += x; } Model 2 6) int i; double base ,power, product; i=0; base=3; power=4; product=0; while (++i<= power) product*-base; printf("%.21f to the power %.21f = %.lf", base Page 3 power product);