C# :: Aufgabe #301 :: Lösung #4
9 Lösungen
#301
Das kleine Einmaleins
Anfänger - C#
von DragStar
- 06.04.2020 um 08:32 Uhr
Erstellen Sie ein Programm, welches das kleine Einmaleins in der Form
1 2 3 4 5 6 7 8 9 10
2 4 6 8 10 12 14 16 18 20
3 ...
.
.
.
10 20 30 40 50 60 70 80 90 100
ausgibt.
1 2 3 4 5 6 7 8 9 10
2 4 6 8 10 12 14 16 18 20
3 ...
.
.
.
10 20 30 40 50 60 70 80 90 100
ausgibt.
#4
von Hermes_DE (80 Punkte)
- 21.04.2020 um 15:34 Uhr
using System;
namespace DasKleineEinMalEins
{
class Program
{
static void Main(string[] args)
{
int reihe;
for (reihe = 1; reihe <= 10; reihe++)
{
for (int i = 1; i <= 10; i++)
{
Console.Write(i * reihe + " ");
}
Console.WriteLine();
}
}
}
}
Kommentare:
Für diese Lösung gibt es noch keinen Kommentar
Seite 1 von 0
1
