I have the following code/pseudocode:
    if (condition A)
        {
          if(condition B)
             {
               print("Yes")
             }
          else 
            {
               print("No")
            }
         }
   else
       {
         print("Maybe")
       }
Why does R say the last  else  is an unexpected token?
 
    