九九乘法表
来源:互联网 发布:软件开发需要几个人 编辑:程序博客网 时间:2024/06/04 19:03
#include <stdio.h>int main(){ int i,j,k; for(i = 1;i <= 9;i++) { for(j = 1;j <= i;j++) { k = i * j; printf("%d*%d=%d ",i,j,k); } printf("\n"); } return 0;}
注意:
for循环之后只能执行一条语句(在没有大括号的情况下)
所以不要吝啬你的大括号
0 0
- 九九乘法表
- 九九乘法表
- 九九乘法表
- 九九乘法表
- 九九乘法表
- 九九乘法表
- 九九乘法表
- 九九乘法表
- 九九乘法表
- 九九乘法表
- 九九乘法表
- 九九乘法表
- 九九乘法表
- 九九乘法表
- 九九乘法表
- 九九乘法表
- 九九乘法表
- 九九乘法表
- tcpdump出现no suitable device found 原因
- Android TextView修改文字样式
- 链式队列
- 网络图片下载并保存本地
- leetcode 125-Valid Palindrome
- 九九乘法表
- nginx监听一个端口多域名转发配置
- IOS调试技巧:当程序崩溃的时候怎么办 iphone IOS
- 第17周项目7-电子词典结构体版
- uva 10392 Factoring Large Numbers
- 开源框架:iConsole
- Windows 2000 资源工具包中
- IOS调试技巧:当程序崩溃的时候怎么办 iphone IOS
- Unity利用Resources加载资源