Discussion :: Microprocessors
-
If RADIUS = 3.0 the result of the following FORTRAN 77 program will be
REAL RADIUS, CAREA, SAREA, RATIO
PI
PI = 3.1416
READ *, RADIUS CAREA = PI * RADIUS * RADIUS
SAREA = 2 * RADIUS * RADIUS
RATIO = CAREA/SAREA
Answer : Option A
Explanation :
Calculate and add decimal at proper place.
Be The First To Comment