Import Java Scanner Public Class Sums Public Static Void Main Stringargs Final I

Design and implement an application that reads an integer valueand prints the sum of all even integers between 2 and the inputvalue, inclusive. Print an error message if the input value is lessthan 2. Prompt the user accordingly.This is what I have, but my instructor said this isn’t right… I have no clue what to do now.