package apples;
public class boy {
public static void main (String []args) {
int thileban[]= {3,4,5,6,7};
change(thileban);
for(int y:thileban)
System.out.println(y);
}
public static void change(int x[]) {
for (int counter = 0; counter<x.length;counter++)
x[counter]+=5;
}
}
Comments
Post a Comment