#1
19.02.2015 um 05:15 UhrGeile Lösung! Ich bin schwer beeindruckt! Ich wette du studierst Mathematik oder ähnliches. :-)
C# :: Aufgabe #70 :: Lösung #6
using System;
namespace _30_divide
{
class Program
{
static void Main(string[] args)
{
Int64 kgv =
((Int64)Math.Pow(2, 4)) * ((Int64)Math.Pow(3, 3)) * ((Int64)Math.Pow(5, 2)) * 7 * 11 * 13 * 17 * 19 * 23 * 29;
Console.WriteLine(kgv);
Console.ReadLine();
}
}
}
Kommentare:
Mentalist999
Punkte: 680
21 Lösungen
50 Kommentare
hollst
Punkte: 13980
761 Aufgaben
132 Lösungen
117 Kommentare
Int64 kgv = (Int64)(2 * 2 * 2 * 2 * 3 * 3 * 3 * 5 * 5 * 7 * 11 * 13) * (Int64)(17 * 19 * 23 * 29);
Console.WriteLine(kgv);
Console.ReadLine();