> 其他 >
C++关于乘法口诀的问题
输入2到9 任意一个数字
Input the number :3
Result :3 times table
3x1=3
3x2=6
3x3=9
3x4=12
3x5=15
3x6=18
3x7=21
3x8=24
3x9=27
人气:188 ℃ 时间:2020-06-18 00:57:03
解答
#include
int main()
{
int n;
printf("Input the number :");
scanf("%d",&n);
printf("Result : %d times table\n",n);
for(int i=1;i
推荐
猜你喜欢
© 2024 79432.Com All Rights Reserved.
电脑版|手机版