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); } }
here area : a = 6.8 * 6.8 * 3.14output: 145.1936
Previous Question Next Question
Your comments will be displayed only after manual approval.