Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
multiplo de 500
//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 { static double a = 0.0; static void input () { Console.WriteLine("Escriba su nùmero: "); a=double.Parse(Console.ReadLine()); } static void val () { if (a%500==0) { Console.WriteLine("Múltiplo de 500 "); } else { Console.WriteLine("No es múltiplo de 500"); } } public static void Main(string[] args) { input (); val (); } } }
run
|
edit
|
history
|
help
0
Override method/function in C#
ByVal
ANQ Bug with Feb month display
ExtensionDateTime
4 squares theorem
smallestof3
Some linq examples
min tree
EMV_RESULTAT
random no generation array