1int[] stappen = { 8200, 11500, 6400, 12030, 9800, 15200, 4300 };
2Console.WriteLine($"Maandag: {stappen[0]} stappen");
3Console.WriteLine($"Zondag: {stappen[stappen.Length - 1]} stappen");
4
5int dagenGehaald = 0;
6for (int i = 1; i < stappen.Length; i++)
7{
8 if (stappen[i] >= 10000)
9 {
10 dagenGehaald++;
11 }
12}
13Console.WriteLine($"{dagenGehaald} dagen met minstens 10000 stappen");