C
This commit is contained in:
17
DeitelC/Chapter3/TabularOutputPower.c
Normal file
17
DeitelC/Chapter3/TabularOutputPower.c
Normal file
@ -0,0 +1,17 @@
|
||||
#include <stdio.h>
|
||||
|
||||
int main(void) {
|
||||
int a = 1;
|
||||
|
||||
while(a <= 10) {
|
||||
printf("%d\t", a);
|
||||
printf("%d\t", a*a);
|
||||
printf("%d\t", a*a*a);
|
||||
printf("%d\n", a*a*a*a);
|
||||
a++;
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user