my question is how do I replace the value of b and run the loop over again untill b = 100Code:#include <stdio.h> int main() { double a=1; double b=0.01; double c; c = a * b; while ( a <= 10000) { printf("%f\t%f\n", a, c); a = a++; c = a*b; } } return 0; }
thanks