22
1
using System;
2
3
public class Program
4
{
5
public static void Main()
6
{
7
//Invoer
8
int Getal = 1;
9
string Tekst = "";
10
11
//Verwerken
12
13
do
14
{
15
Tekst += Getal + " - ";
16
Getal++;
17
} while (Getal <= 10);
18
19
//Uitvoer
20
Console.WriteLine(Tekst);
21
}
22
}
Cached Result