#include main() { int i, x; i=10;/*gives the initial value for i*/ do /*begins the loop*/ { /*brackets form body of loop with C statements*/ x = i * i; /*formula for the square*/ printf("the square of %d = %d\n\n", i, x);/*prints the outcome and skips a line*/ i = i + 1;/*adds 1 to the last value of i so the next loop it will be a higher number*/ } while(i<21);/*this is the test expression that ends the loop when the number reaches 20, by saying that i is always less than 21*/ return; }