Computer Science, asked by sumeetkumar92, 2 days ago

Write a program to find the perimeter of a triangle with sides measuring

22cm.65cm and 85cm and display it’s output.​

Answers

Answered by akshaysaroj961
0

Answer:

Program in java

class triangle

{

public static void main (String args[])

{

int a = 22;

int b = 65;

int c = 85;

int perimeter = (a+b+c);

System.out.println("Perimeter of triangle =+",perimeter);

}

}

Similar questions