Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
IsDivisibleV2
//Rextester.Program.Main is the entry point for your code. Don't change it. //Compiler version 4.0.30319.17929 for Microsoft (R) .NET Framework 4.5 using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Rextester { public class Program { public static void Main(string[] args) { //Your code goes here //Console.WriteLine((10 % 5)); Console.WriteLine(IsDivisble(15,5)); } public static bool IsDivisble(int x, int n) { return x >= n && (x % n) == 0; } } }
run
|
edit
|
history
|
help
0
BaseUrl test
ElaineBrown**
Generics
Planet-D ver. 0.5
Swedish regex test
ok
adxcsdxsddxsd
hello-shared
সদফঘজ্যুয়হতগ্রফেদ
find the index of the substring "fir" - Seeni