diff --git a/IndustrialTrainingProjects/NaturalNoPrint.java b/IndustrialTrainingProjects/NaturalNoPrint.java new file mode 100644 index 0000000..49a0f6a --- /dev/null +++ b/IndustrialTrainingProjects/NaturalNoPrint.java @@ -0,0 +1,12 @@ +// Program to print Natural numbers from 1 to 10. + +package IndustrialTrainingProjects; + +public class NaturalNoPrint { + public static void main(String[] args) { + for(int i = 1; i <= 10; i++) + { + System.out.println(i); + } + } +} diff --git a/IndustrialTrainingProjects/README.MD b/IndustrialTrainingProjects/README.MD index b6b121b..da7d5b2 100644 --- a/IndustrialTrainingProjects/README.MD +++ b/IndustrialTrainingProjects/README.MD @@ -23,4 +23,5 @@ if the problem still persist then create a issue or use Google/Stack Overlflow f |----------|------------|--------------------------| |1 | [PrivateConBasic.java](https://github.com/psavarmattas/Java-Projects/blob/master/IndustrialTrainingProjects/PrivateConBasic.java) | Program to implement private constructor using the basic method. | |2 | [PrivateConSingleton.java](https://github.com/psavarmattas/Java-Projects/blob/master/IndustrialTrainingProjects/PrivateConSingleton.java) | Program to implement private constructor using the Singleton method. | -|3 | [EmployeeModelClass.java](https://github.com/psavarmattas/Java-Projects/blob/master/IndustrialTrainingProjects/EmployeeModelClass.java) | Program to create Model Class, Getters, Setters and display the data. | \ No newline at end of file +|3 | [EmployeeModelClass.java](https://github.com/psavarmattas/Java-Projects/blob/master/IndustrialTrainingProjects/EmployeeModelClass.java) | Program to create Model Class, Getters, Setters and display the data. | +|4 | [NaturalNoPrint.java](https://github.com/psavarmattas/Java-Projects/blob/master/IndustrialTrainingProjects/NaturalNoPrint.java) | // Program to print Natural numbers from 1 to 10. | \ No newline at end of file