Java Program That Displays The First n Natural Numbers - [JAVA EXERCISE WITH SOLUTION]
Java Program that displays the first 20 natural numbers - Java Exercise With Solution
public class TestApp {
public static void main(String[] args)
{
int number;
System.out.println ("The first 10 natural numbers are:\n");
for (int i=1; i less than or equal to number ;i++)
{
System.out.print (number);
}
System.out.println ("\n");
}
}
I am trying to grow my channel, so if you find this video useful, please SUBSCRIBE and hit the notification bell :)
Thanks for watching and I hope you liked and learned something new !!!!!
#codingriver
#javapracticeexercisewithsolution
#javapractice
Видео Java Program That Displays The First n Natural Numbers - [JAVA EXERCISE WITH SOLUTION] автора Языки программирования: практические применения
Видео Java Program That Displays The First n Natural Numbers - [JAVA EXERCISE WITH SOLUTION] автора Языки программирования: практические применения
Информация
5 декабря 2023 г. 7:44:44
00:03:40
Похожие видео