package evennos ;
public class Evennos {
int even = 200;
for(int x=2;x<=even;x+=2)
if (x%2 ==0) {
system.out.println("Display even nos between 2 and "+even);
...
Type: Posts; User: Shalom
package evennos ;
public class Evennos {
int even = 200;
for(int x=2;x<=even;x+=2)
if (x%2 ==0) {
system.out.println("Display even nos between 2 and "+even);
...
i want to confirm if it is correct .
thanks
I did this practice work on my own.
CALCULATE THE TOTAL EARNING OF A WORKER.
Total earning of a worker
Total earning;
{
public static void main(string)[] args) {
//...