it gives me error on the mod symbol: expecting variable. why is that? I am running that exact code on a laptop and it runs just fine.
package com.codegym.task.task04.task0435;
/*
Even numbers
*/
public class Solution {
public static void main(String[] args) {
//write your code here
for(int i = 1; i <= 100; i++){
if(i % 2 = 0) {
System.out.println(i);
}
}
}
}