25 lines
574 B
C#
25 lines
574 B
C#
using System;
|
|
using System.IO;
|
|
using System.Collections.Generic;
|
|
|
|
namespace Exercises_C_Sharp.XX_Lists
|
|
{
|
|
class Exercise_4
|
|
{
|
|
public static void Start()
|
|
{
|
|
//Geben Sie das Doppelte der ersten Zahl, das Dreifache der zweiten Zahl, das Vierfache der dritten Zahl usw. aus der Liste aus:
|
|
List<int> intList = new List<int>() {14,2,12,32,51,31,53,12,34,34,2,45,45,23,62,72,25,40};
|
|
|
|
|
|
/*Code START*/
|
|
|
|
|
|
/*Code ENDE*/
|
|
|
|
|
|
//Kontrolle:
|
|
//28 - 6 - 48 - 160 usw....
|
|
}
|
|
}
|
|
} |