1、首先打开vc6.0,新建一个项目2、添加头文件3、添加main函数4、定义 i , j , result变量5、使用第一层 for 循环6、使用第二层for循环7、计算result8、打印result , i , j9、换行10、运行程序