Computer Science, asked by patelmanav0801, 2 months ago

Write Java program to print perimeter of a triangle

(where perimeter = a+b+c)​

Answers

Answered by 30266
1

Java Program to Find the Perimeter of a Circle, Rectangle and Triangle

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;

Similar questions