Mate Can u help me with (Write a program in java to display the first ten even numbers)
SO, DON'T POST IRREVELANT ANSWER
Answers
Answered by
1
Answer:
Following are program in java to display the first ten even numbers:
- 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++)
- {
━━━━━━━━━━━━━━━━━━━━━━━
#Brainy star
#Brainly moderator
#Brainly user
#Nawab
#itzPapaKaHelicopter
#itsPapaKaHelicopter
Similar questions