解题思路:
直接原样输出即可 注意事项:
参考代码:
#include<iostream> using namespace std; int main() { cout<<" Nine-by-nine Multiplication Table"<<endl; cout<<"--------------------------------------"<<endl; cout<<" 1 2 3 4 5 6 7 8 9"<<endl; cout<<"--------------------------------------"<<endl; cout<<" 1 1"<<endl; cout<<" 2 2 4"<<endl; cout<<" 3 3 6 9"<<endl; cout<<" 4 4 8 12 16"<<endl; cout<<" 5 5 10 15 20 25"<<endl; cout<<" 6 6 12 18 24 30 36"<<endl; cout<<" 7 7 14 21 28 35 42 49"<<endl; cout<<" 8 8 16 24 32 40 48 56 64"<<endl; cout<<" 9 9 18 27 36 45 54 63 72 81"<<endl; cout<<"--------------------------------------"<<endl; return 0; }
0.0分
3 人评分
C语言程序设计教程(第三版)课后习题5.4 (C++代码)浏览:824 |
C语言程序设计教程(第三版)课后习题6.4 (C语言代码)浏览:1005 |
C二级辅导-计负均正 (C语言代码)浏览:587 |
简单的a+b (C语言代码)浏览:717 |
C语言程序设计教程(第三版)课后习题7.2 (Java代码)浏览:681 |
剔除相关数 (C语言代码)浏览:1008 |
P1002 (C语言代码)浏览:970 |
【亲和数】 (C语言代码)浏览:855 |
C语言程序设计教程(第三版)课后习题5.8 (C语言代码)浏览:567 |
C语言训练-阶乘和数* (C语言代码)-------- 呆板写法浏览:1345 |