The compiler doesn’t care where you place braces, but we strongly recommend that you follow a simple rule: Line up { and }.
if (amount <= balance)
{
double newBalance = balance – amount;
balance = newBalance;
}
This scheme makes it easy to spot matching braces.