Computer Science, asked by ayush6338, 1 year ago

Write a basic program to find the even numbers till 20

Answers

Answered by Aditya882266
1
this is the write answer of this question
Attachments:

ayush6338: it is Java program
Aditya882266: oh sorry
Aditya882266: mana dhang se dekha nhi apko basic program chaiya
Answered by Bond54132
1

the answer is:

class p1

{

void main()

{

for(int i=1;i<=20;i++)

{

if (i%2==0)

{

System.out.print(i);

}

}

}

}


Bond54132: please mark me as the brainliest
Similar questions