What is !=
in C # and how can I use it properly? I visualized an example in a repeat structure with for
, however I did not quite understand the function of it.
int soma = 0;
for (int i = 1; i <= 100; i++)
{
if (i % 3 != 0)
{
soma += i;
}
}