#include <stdio.h> int a=10, b=3; int main() { int c,d,e; for(c=0; c<=a-1; c++) { printf("%d^%d = ", b, c); d=1; for(e=0; e<c; e++) { d=d*b; } printf("%d\n", d); } }
To embed this project on your website, copy the following code and paste it into your website's HTML: