Microprocessors - Engineering

Q1:

Consider the following program in Basic

5 READ R
10 D = 2 * R
20 A = 3.1416 * D * D / 4
30 PRINT A

Assuming that R = 3.0, the output A =

A 2.827

B 28.27

C 282.7

D 2827

ANS:B - 28.27

.