Computer Science, asked by arifzarina15, 8 months ago

Design of class to overload method series given that :
Long series (int n) : return the product of first natural number ( 1*2*3*4*........n)
Long series ( int n1,int n2) : return the sum of the natural number from n1 to n2 eg 10+11 here assuming n1 =10 ,n2 =15

Answers

Answered by kritikasingh75
5

Explanation:

here is the answers........... I hope it will help you...

thank you

Attachments:
Similar questions