1.

What is the output of this program? class area { public static void main(String args[]) { double r, pi, a; r = 6.8; pi = 3.14; a = pi * r * r; System.out.println(a); } }

A. 142.1935
B. 145.1936
C. 140.236
D. 145.2936
E. 145
Answer» C. 140.236


Discussion

No Comment Found

Related MCQs