So ive moved on(temporarily) from my other hw assignment onto the other one. THis one calls for a multiplication program that uses the russian peasent idea of multiplication (http://mathforum.org/dr.math/faq/faq.peasant.html)... Instead of x*y. anyways, ive think i got it, but im getting a compiler error for this codeI get an error for the line containing the fmod if statement.Code:#include <FPT.h>
int main()
{
double x,y,a,b;
x=inD();
y=inD();
b=1;
while(floor(y/2)!=1){
if((fmod((x)/2))!=0){
if(b==1){
a=x;
}
else{
x=x*2;
y=(y/2);
a=x+x;
}
}
else{
x=x*2;
y=(y/2);
}

