6) int i; double base ,power, product; i=0; base=3; power=4; product=0; while (++i<= power) product*=base; printf("%.21f
Posted: Mon Jun 06, 2022 2:32 pm
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 = %.1f", base ,power product) ; 7) int j; for(j=0; j>-1; j++) printf ("*"); 8) The following code should output the odd integers from 20 to 1: int x=20; do { printf("%d ",x); x=+2; }wihle (x => 0);