3220:练36.3 九九乘法表

3220:练36.3 九九乘法表

信息学奥赛一本通-编程启蒙(C++版)在线评测系统

练 36.3 九九乘法表

信息学奥赛一本通-编程启蒙(C++版)在线评测系统

C语言 第4章 循环结构 4-5-1 例3-19 九九乘法表(循环嵌套结构引导案例)

【张成叔主讲:C语言(第1版)】C语言 第4章 循环结构 4-5-1 例3-19 九九乘法表(循环嵌套结构引导案例)_哔哩哔哩_bilibili

第56课 九九乘法表 《小学生C++趣味编程》

第56课 九九乘法表 《小学生C++趣味编程》_c++2.小红上课睡着了,醒来发现黑板上写着“九九乘法表”,老师刚好讲完,小红不知道-CSDN博客

【C语言-实验讲解】第15题。打印九九乘法口诀表(for循环嵌套)

【C语言-实验讲解】第15题。打印九九乘法口诀表(for循环嵌套)_哔哩哔哩_bilibili

小讲堂第23课:C++九九乘法表

小讲堂第23课:C++九九乘法表_哔哩哔哩_bilibili

14-1.九九乘法表(左下,右下)

14-1.九九乘法表(左下,右下)_哔哩哔哩_bilibili

14-2.九九乘法表(左上,右上)

14-2.九九乘法表(左上,右上)_哔哩哔哩_bilibili




C语言代码:

#include <stdlib.h>
#include <stdio.h>
#include <math.h>
int main()
{
	int i,j;
	 
	for(i=1;i<=9;i++)
	{
		for(j=1;j<=i;j++)
		{
			printf("%d*%d=%2d ",i,j,i*j);
		}
		
		printf("\n");
		//cout<<endl;
	}
	
    return 0;
}


C++代码:

#include <bits/stdc++.h>
using namespace std;
int main()
{
	cout<<"1*1= 1"<<endl;
	cout<<"2*1= 2 2*2= 4"<<endl;
	cout<<"3*1= 3 3*2= 6 3*3= 9"<<endl;
	cout<<"4*1= 4 4*2= 8 4*3=12 4*4=16"<<endl;
	cout<<"5*1= 5 5*2=10 5*3=15 5*4=20 5*5=25"<<endl;
	cout<<"6*1= 6 6*2=12 6*3=18 6*4=24 6*5=30 6*6=36"<<endl;
	cout<<"7*1= 7 7*2=14 7*3=21 7*4=28 7*5=35 7*6=42 7*7=49"<<endl;
	cout<<"8*1= 8 8*2=16 8*3=24 8*4=32 8*5=40 8*6=48 8*7=56 8*8=64"<<endl;
	cout<<"9*1= 9 9*2=18 9*3=27 9*4=36 9*5=45 9*6=54 9*7=63 9*8=72 9*9=81"<<endl;
	return 0;
}


#include<bits/stdc++.h>
using namespace std;
int main()
{
	for(int i=1;i<=9;i++)
    {
		for(int j=1;j<=i;j++)
        {
			cout<<i<<"*"<<j<<"="<<setw(2)<<i*j<<" ";
		} 
		cout<<endl;
	}

	return 0;
}


#include<bits/stdc++.h>
using namespace std;
int main()
{
	for(int i=1;i<=9;i++)
	{
		for(int j=1;j<=i;j++)
		{
			printf("%d*%d=%2d ",i,j,i*j);
		}
		
		cout<<endl;
	}
	
    return 0;
}










python画图、python小游戏、python刷题、python算法、python编程与数学

python画图、python小游戏、python刷题、python算法、python编程与数学-CSDN博客

蓝桥杯青少年创意编程大赛 scratch python C++ 资料集(2022.07.08)

蓝桥杯青少年创意编程大赛 scratch python C++ 资料集(2022.07.08)_2019年12月份 python 蓝桥杯青少组-CSDN博客

蓝桥杯青少创意编程python组

蓝桥杯青少创意编程python组_2019年12月份 python 蓝桥杯青少组-CSDN博客

Python相关的考试和认证

Python相关的考试和认证_python考级官网-CSDN博客

python刷题 NOI题库 python题解 洛谷、牛客网、AcWing 刷题等

python刷题 NOI题库 python题解 洛谷、牛客网、AcWing 刷题等_acwing和洛谷哪个好-CSDN博客

Python信息技术学考一本通题目讲解、python入门、python习题集整理汇总等

Python信息技术学考一本通题目讲解、python入门、python习题集整理汇总等_信息学奥赛一本通python网站-CSDN博客

python画图系列整理

python画图系列整理_python画图作品-CSDN博客

  • 11
    点赞
  • 10
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

dllglvzhenfeng

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值