1、首先打開vc6.0,新建一個項目
2、添加頭文件
3、添加main函數
4、定義i,j,result變量
5、使用第一層for循環
6、使用第二層for循環
7、計算result
8、打印result,i,j
9、換行
10、運行程序