Write a java program to find the sum of the following series: S=1+1/4!-2/9!+3/16!-4/25!…n terms [closed]

Sum of the series program
Conditions-PLs solve this program with scanner class
I have been trying to solve this program from many days but I am no able to, please help