@{var price=25;}
<html>
<body>
@if (price>=30)
{
<p>价格偏高。</p>
}
else if (price>20 && price<30)
{
<p>价格还可以。</p>
}
else
{
<p>价格偏低。</p>
}
</body>
</html>