1. Course
  2. Arrays
  3. Search even numbers

Search even numbers


Last updated: 8/23/2020 Difficulty: Intermediate

Write a program in C# that asks the user for 10 integers to store them in an array of integers and show only even integers.

Input

3
5
2
4
3
1
8
10
6
4

Output

2 4 8 10 6 4

Solution

Arrays

3 / 11

Android App


Practice C# anywhere with the free app for Android devices.

Android App

Exercises C# by difficulty


Learn C# at your own pace, the exercises are ordered by difficulty.

Make a donation


Your donations support our work and contribute to the maintenance of the app.

Advertising