Please fix the errors in this code fragment. It should print “The sum of even numbers from 2 to is ?? based on the number the user enters. Program fragment: int x, limit; limit = [login to view URL] (“Please enter the number to count to??); for (int count = 1, count <= limit; count++) { x = x + count; } [login to view URL](“The sum of even numbers from 2 to “ + count +“ is :?? + x ); In the above example, if I want to reference the variable count later on in the program (outside the loop) for whatever reason, what must I do to make it work?
## Deliverables
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request.
3) Exclusive and complete copyrights to all work purchased. (No GPL, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site).
## Platform
Windows 2000 Java 1.4