The formula for finding the <span>percentage of revenue that is spent on advertising will be:
</span>Percentage of revenue that is spent on advertising = Advertising Budget / Revenue x 100%
Using the values, we get:
Percentage of revenue that is spent on advertising = (8,000,000/138,000,000) x 100% = 5.80%
This means 5.80% of <span>revenue is spent on advertising</span>
// A single if statement
if (boolean expression)
Do statement;
// Or a single if with {}
if (boolean expression)
{
Do statement;
}
// A block if statement: { } required
if (boolean expression)
{
Do Statement1;
Do Statement2;
...
Do StatementN;
}
Note
1. Force
It could be a guess but that makes the most sense to me