
2. Write a Java program that prompts the user to enter a positive integer and calls a value returning method named sum0.This method should accept one input parameter; n. This method should also compute the sum of all integers from 1, up to and including the integer that was entered by the user. For example if the user entered 5 the sum method should return 15; which is (1 +2+3+4+5). Your program should also validate
PayPal Gateway not configured
PayPal Gateway not configured