设为首页收藏本站淘宝杂货铺

从F到0 - From F to 0

 找回密码
 注册已关闭
搜索
查看: 1863|回复: 4
收起左侧

新人用VC6写的九九乘法表生成器

[复制链接]
发表于 2017-6-21 09:04:45 | 显示全部楼层 |阅读模式
新人制作,大神勿喷。

  1. #include "stdafx.h"

  2. int main(int argc, char* argv[])
  3. {
  4.         unsigned char a=0;
  5.         unsigned char b=0;
  6.         for(a=1;a<=9;a++){
  7.                 for(b=1;b<=a;b++){
  8.         printf("%d",b);
  9.     printf("x");
  10.         printf("%d",a);
  11.     printf("=");
  12.         printf("%d",a*b);
  13.     printf(" ");
  14.                 }
  15.             printf("\n");
  16.         }
  17.                 return 0;
  18. }
复制代码



发表于 2017-6-21 16:08:57 | 显示全部楼层
呵呵,这个不错{:8_2797:}
发表于 2017-7-24 12:53:47 | 显示全部楼层
呵呵,小白都会写。
发表于 2017-9-22 17:26:19 来自手机 | 显示全部楼层
怎么就写了个这,这板块大半个月没动静。
发表于 2017-10-16 22:20:02 来自手机 | 显示全部楼层
Kuni7wa 发表于 2017-9-22 17:26
怎么就写了个这,这板块大半个月没动静。

不清晰啊,这板块不知是什么情况。
您需要登录后才可以回帖 登录 | 注册已关闭

本版积分规则

QQ|手机版|Archiver|从F到0 ( 蒙ICP备17002595号-1 )
蒙公网安备15010402000325号

腾讯云安全认证

GMT+8, 2024-3-28 18:59 , Processed in 0.484028 second(s), 21 queries .

Powered by Discuz! X3.4 Licensed

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表