write a program to display all even number upto 100 . using for loop in Java
Answers
Answered by
1
Answer:
those are multiple of 2 or end with even number
Answered by
2
Answer:
public class DisplayEvenNumbersExample1.
{
public static void main(String args[])
{
int number=100;
System.out.print("List of even numbers from 1 to "+number+": ");
for (int i=1; i<=number; i++)
{
Explanation:
Hope it helps you Army
Similar questions
Math,
16 days ago
Science,
16 days ago
Math,
1 month ago
Computer Science,
9 months ago
Science,
9 months ago