Question: how to find perimeter of triangle in java?
Answer: public class Perimeter. int r, l, b, s1, s2, s3; double pi = 3.14,perimeter; Scanner s = new Scanner(System. void circle() System. out. print("Enter radius of circle:"); r = s. nextInt(); perimeter = 2 * pi * r;