Please help me debug.....
I will love you forever if you can tell me what's wrong with my programme......
public class picalculator2
{
public static void main(String[] args)
{
int terms = 2;
int count = 1;
double currentDivided = 1;
int numerator;
int denominator;
int numOne;
int numTwo;
while ( count < terms )
{
numOne=count;
numTwo=count+1;
if (numOne%2 = 0)
{
numOne = numerator;
numTwo = denominator;
}
else
{
numOne = denominator;
numTwo = numerator;
}
currentDivided = currentDivided*(numerator/denominator);
count++;
}
System.out.println(currentDivided);
}
}

