BlueJ Programs for ICSE and ISC
BlueJ Programs
Home
Programs
Data Types
Program To Print First 10 Natural Numbers
This Program prints first 10 natural numbers.
class Print
// By Steve
{
public static void main()
{
for (int i=1;i<=10;i++)
System.out.println(i);
}
}
No comments:
Post a Comment
Home
Subscribe to:
Posts (Atom)
No comments:
Post a Comment