Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Project Euler problem 1
//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) { float result = 0; for (float i = 0; i < 1000; i++) { if ((i / 3) % 1 == 0 || (i / 5) % 1 == 0) result += i; } Console.WriteLine(result); } } }
run
|
edit
|
history
|
help
0
Reverse String
tipos de bucle for, while, do while
bubbleSort
Math 9.6
a
lit pe
adxsadxsd
Generic Factory pattern
Bubble Sort
xx