[solved]-Write Java Program Calculate Sum N Positive Odd Integers Starting Example N 5 1 Program Co Q38991128
Write a Java program that calculate the sum of n positive oddintegers starting at a, for example, if n is 5 and a is 1, theprogram should compute 1+3+5+7+9.
Requirements are:
1. Display purpose of the program and author
2. Prompt for inputs, validate accordingly
3. Display the output
4. Provide screenshot of two sample runs.
Expert Answer
Answer to Write a Java program that calculate the sum of n positive odd integers starting at a, for example, if n is 5 and a is 1,… . . .
OR

