using System;
namespace myFirstProgram
{
public class Program
public static void Main()
int counter = 0;
for(int i = 0; i <= 100; i++)
// if the remainders of i divided by 2 and 3 are equal to zero
if( i % 2 == 0 && i % 3 == 0 )
/*
i can be divided by 2 and 3
write output a message for i
increment counter
*/
Console.WriteLine($"{i} can be divided by 2 and 3");
counter++;
}
// display counter
Console.WriteLine($"Between 0 and 100, we found {counter} numbers that can be divided by 2 and 3");