Question: Screenshot please Write a Java program to create two packages and calculate the sum of series using the formula given below. Sum = 1+3+5 +7...
Screenshot please
Write a Java program to create two packages and calculate the sum of series using the formula given below. Sum = 1+3+5 +7... 21. 5 Marks Package Name : package 1 Object Class Name : oddSeries. Member variables : sum, i Member Method : oddsum Package Name : package 2 Driver Class Name : oddSeries test Create a driver or control class called odd Series_test. In this class, the main method is used to call the method of oddsum 5 Marks
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
