Computer Science, asked by manisarki9, 2 months ago

wap to print first 10 even numbers using for loop using java​

Answers

Answered by Anonymous
1

Answer:

Using Java for Loop

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++)

{

Similar questions