Free help with homework

Why join Brainly?

  • ask questions about your assignment
  • get answers with explanations
  • find similar questions


See if the programming language is java then the code is:

import java.util.*;
class even
    public static void main(String aa[])
        Scanner sc=new Scanner(System.in);
        int arr[]=new int[10];
        int sum=0;
        for(int i=0;i<10;i++)
            System.out.print("Enter number "+(i+1)+" : ");

        System.out.println("Sum of even numbers :"+sum);

0 0 0
The Brain
  • The Brain
  • Helper
Not sure about the answer?
Learn more with Brainly!
Having trouble with your homework?
Get free help!
  • 80% of questions are answered in under 10 minutes
  • Answers come with explanations, so that you can learn
  • Answer quality is ensured by our experts