现在的位置: 首页 > 综合 > 正文

纯文字命令行系统的初探,数组顺序编排

2012年08月13日 ⁄ 综合 ⁄ 共 212字 ⁄ 字号 评论关闭

/*  HELLO.C -- Hello, world */

#include "stdio.h"
#include "conio.h"

main()
{int b;
int c[4];
   int a=0;
       b=0;

while(b<=3)
{
scanf("%d",&c[b]);

    b++;}

 

 printf("\n \n \n so good %d,%d,%d,%d.",c[0],c[1],c[2],c[3]);

 

 

 

 

 

 

 

    getch();
}

抱歉!评论已关闭.