using System;

namespace MyCompiler {
    class Program {
        public static void Main(string[] args) {
            Console.WriteLine("digite um numero: ");
            double numero = Convert.ToDouble(Console.ReadLine());
            if(numero % 3 == 0 && numero % 7 == 0){
                Console.WriteLine("numero eh divisivel por 3 e 7");
            }
            else{
                 Console.WriteLine("numero nao eh divisivel por 3 e por 7");
    
            }
        }
    }
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: