int power = 10;
float band = 2.0;
float frequency = 146.52;

if (power > 5)
{
     if (band == 2.0)
     {
         if ((frequency > 144) && (frequency < 148))
         {
             printf("Yes, it's all true!\n");
         }
     }
}