public class array{
public static void main(String[] args){
int num[] = {50,20,45,82,25,63};
int i;
for(i=1;i<6;i++)
{
System.out.print(“ “ +num[i]);
}
public class array{
public static void main(String[] args){
int num[] = {50,20,45,82,25,63};
int i;
for(i=1;i<6;i++)
{
System.out.print(“ “ +num[i]);
}
No comments:
Post a Comment