public class Forloop {
public static void main(String[] args)
{
for(int i=1;i<=5;i++){
System.out.println(i);
}
}
}
OUTPUT:
1
2
3
4
5
public static void main(String[] args)
{
for(int i=1;i<=5;i++){
System.out.println(i);
}
}
}
OUTPUT:
1
2
3
4
5
No comments:
Post a Comment