Wrong anti-spam code

Formulation

The function frog should take two arguments a and b of type long and calculate

max{a,b}+a*b.
Replace the text // ??? // with the missing commands that would result in the correct function.

#include<iostream>
long frog(long a, long b){
   long result;
   result = a;
   if(b > a){
      result =b;
   }
   // ??? //
   return result;
}
int main(){
   long x; long y;  
   std::cin>>x>>y;
   double f=frog(x,y);
   std::cout<<f<<"\n";
   return 0;
}

Your submission


Picture
Prove that you are not a robot.