Computer Science, asked by yashi2229, 10 months ago

I have exm on 21 january n i don't have this question Write a javascript code to display even number 1 to 100 using my loop statement plz give this answer short way

Answers

Answered by 14sabari07
1

Answer:

class even

{

for(int i=1;i<=100;1=1+2)

{

System.out.println("The Even Numbers From 1-100 Are\t"+i);

}

}

This Is The Most Simplest And Basic Method Of Writing This Program

I Hope That U wanted This One

If You Wanted The More Complicated One Please Let Me Know.

Similar questions