0
How to tell java to execute even number in writing
Can someone help please in coding how to write it
6 Antworten
+ 3
Loop through the numbers. A for loop is good for this.
Inside the loop use an if statement to check if a number is even. To do that see if it can be divided by two without remainder. Use the modulo operator.
If the number is even print it.
+ 1
Your question is unclear. Could you explain a little more what you're trying to do?
Also, please always tag the language you're asking about.
https://code.sololearn.com/W3uiji9X28C1/?ref=app
+ 1
Makseem
The numbers which are multiple of 2 that would be even numbers.
I think you know how to check any number is a multiple of 2.
0
How to print even numbers in jaca
0
Java**
0
May I know where to find even numbers whether it is in loop or array or some other else