Java Program : Print even numbers using for loop
Example
Input
6
Output
2 4
Required to know
Use of Variables, Use of different operators like assignment or arithmetic operators, Use of methods like System. out. print(), and use for loop, and Use of Data types.
Steps
Take range as input from the ...
thecodingcoder.hashnode.dev1 min read