码迷,mamicode.com
首页 > 编程语言 > 详细

C语言跑跑程序代码

时间:2019-08-23 16:24:19      阅读:79      评论:0      收藏:0      [点我收藏+]

标签:std   turn   window   print   style   span   sleep   代码   return   

 1 #include <stdio.h>
 2 #include <windows.h>
 3 int main()
 4 {
 5 int a=0,b=1;
 6 system("color 79");
 7 while(a<=1000)
 8 {
 9 b=0;
10 system("cls");
11 while(b<=a)
12 {
13 printf(" ");
14 b=b+1;
15 }
16 Sleep(100);
17 printf("OK");
18 a=a+1;
19 }
20 return 0;
21 }

 

C语言跑跑程序代码

标签:std   turn   window   print   style   span   sleep   代码   return   

原文地址:https://www.cnblogs.com/gougouwang/p/11400614.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!