#include "iostream.h" void main() { int i,j,a; j=2; for(a=1;a<=9;a++) { cout<<a<<" "; } cout<<endl; while (j<=9) { i=1; while(i<=9) { cout<<i*j<<" "; i++; } cout<<endl; j++; } }
一个9X9的表格,用数字显示出来了的,欢迎大家来指点指点啊!!!