Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
As mentioned previously, the “emulating block boundaries” style works well for most block-structured languages.
fx = ((a + b) * (c + d)) / e;
if (average > MIN_AVG) {
avg = MIN_AVG;
}
if ((’0’ <= inChar && inChar <= ’9’) ||
(’a’ <= inChar && inChar <= ’z’) ||
(’A’ <= inChar && inChar <= ’Z’)) {
mytext.addString(inChar);
mytext.length++;
}