@{var price=20;}
<html>
<body>
@if (price>30)
    {
    <p>The price is too high.</p>
    }
    else
    {   
    <p>The price is OK.</p>
    }

</body>
</html>