C语言数组

#include stdio.hint main() {intnumber1;intnumber2;intnumber3;intnumber4;intnumber5;number1 = 10;

编程学习网为您整理以下代码实例,主要实现:C语言数组,希望可以帮到各位朋友。

#include <stdio.h>

int main() {

   int  number1;
   int  number2;
   int  number3;
   int  number4;
   int  number5;

   number1 = 10;      
   number2 = 20;   
   number3 = 30;   
   number4 = 40; 
   number5 = 50;     

   printf( "number1: %d\n", number1);
   printf( "number2: %d\n", number2);
   printf( "number3: %d\n", number3);
   printf( "number4: %d\n", number4);
   printf( "number5: %d\n", number5);
}
本站部分内容来源互联网,如果有图片或者内容侵犯您的权益请联系我们删除!

相关文档推荐