Electronics and Communication Engineering - Microprocessors - Discussion

4. 

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

Answer: Option B

Explanation:

Operators must be written. They are not implied.


Post your comments here:

Name *:

Email   : (optional)

» Your comments will be displayed only after manual approval.