Write a program to calculate the Altitude of Isosceles TriangleBefore writing the program of calculating the altitude of isosceles triangle in different programming languages, firstly we have to know about the formula to find altitude of Isosceles triangle? Program of calculating the altitude of Isosceles Triangle in different Programming languagesProgram 1: Write a Program in C language: Output of Above C program: Enter the side a of the Isosceles Triangle:5 Enter the base b of the Isosceles Triangle:8 Altitude of the Isosceles Triangle is: 3.00 Program 2: Write a Program in Java language: Output of Above Java program: The Altitude of a Isosceles Triangle in Java: 3.0 Program 3: Write a Program in PHP programming language. Output of Above PHP program: 3 Program 4: Write a Program in Python programming language. Output of Above Python program: 3.0 |
We provides tutorials and interview questions of all technology like java tutorial, android, java frameworks
G-13, 2nd Floor, Sec-3, Noida, UP, 201301, India