C语言跑跑程序代码

Posted gougouwang

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了C语言跑跑程序代码相关的知识,希望对你有一定的参考价值。

 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语言跑跑程序代码的主要内容,如果未能解决你的问题,请参考以下文章