mirrored_repositories/SMIT-Flutter
/* 
Q1, Write a program that takes a list of numbers as input and prints the
even numbers in the list using a for loop.
Example:
Input: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
Output: 2 4 6 8 10
*/
void main() {
  List<int> numbers = [1,2,3,4,5,6,7,8];
  
  for(int number in numbers){
    if(number % 2 == 0){
      print(number);
    }
  }
}