I write progarms just as follows,if it is ok?

#include<stdio.h>
#include<math.h>

int main()
{
   int number;
   int a[10];

  for(number = 0;number <= 9;number++)
 {
     a[number] = 4 - (4 / (number + 1)) * pow(-1,number);
 }
  
 return 0;
 
}


      ___________________________________________________________ 
进入雅虎游戏嘉年华,赢取液晶显示器! 
http://cn.mail.yahoo.com/promo/carnival07/

[Non-text portions of this message have been removed]

Reply via email to