17 lines
336 B
C#
17 lines
336 B
C#
using System;
|
|
|
|
public class Program
|
|
{
|
|
public static void Main(string[] args)
|
|
{
|
|
int[] myArray = {100, 1, 32, 3, 14, 25, 6, 17, 8, 99};
|
|
int n = 10;
|
|
for (int i = 0; i < n; i++)
|
|
{
|
|
if (myArray[i] % 2 == 0) myArray[i] = 0;
|
|
|
|
Console.Write(myArray[i] + " ");
|
|
}
|
|
}
|
|
}
|