Back to: Java Program’s
0
public class NaturalNumbers
{
public static void main (int limit)
{
for (int times=1; times<=limit; times++)
{
System.out.println (times);
}//end of loop
}//end of main
}
Submitted By: Ms. Suchetana Mukherjee
If this program was helpful to you, do leave a comment.
All Credit goes to Ms. Suchetana Mukherjee
P.N. : All the post on this website are for demonstration and education purpose only.
Student should perform all the practicals for there personal copies.