Java program to find sum of n - th terms of a Fibonacci like series formed using first two terms of two arrays .
public class GFG { static int sumNth ( int A [ ] , int B [ ] , int m , int n ) { int res = 0 ;