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
unsorted array which has a number in the majority (a number appears more than 50% in the array
decimal to binary
Array merge
t
Program 1
Modulul 3, Exerciţiul 2 – Crearea şi utilizarea unui tip struct
HourCouter
dynamic object
GetChange
helloworld_java