class foreach
{
 public static void main(string args[])
 {
  int nums[]={1,2,3,4,5,6,7,8,9,10};
  for(int x : nums)
  {
   system.out.print(x + " "); 
   x=x*10;
  }
 }
}
Tuesday, March 24, 2009
Subscribe to:
Post Comments (Atom)
This is the place where u get all sorts of programs in different programming languages.....
No comments:
Post a Comment