Microprocessors - Engineering

Q1:

The correct way of writing the expression in Pascal is

A
N * V * V / 2 + G * H / 3D

B
N * V * V / 2.0 + G * H / (3.0 *D)

C
N * V * V / 2 + G * H / 3.0 * D

D
N * V * V / 2.0 + G * H / 3.0 * D

ANS:B -

N * V * V / 2.0 + G * H / (3.0 *D)

Operators must be written. They are not implied.