数组填充
#include <stdio.h> int main() { int v,i; int N[10]; scanf("%d",&v); printf("N[0] = %d\n",v); for(i=1;i<=9;i++) {v=2*v; printf("N[%d] = %d\n",i,v);} return 0; }