write a program that takes 3 number as input.if the 3 number from a right angled triangle,print right triangle answer in any language
Answers
Answered by
0
Answer:
The given program is written in Java.
import java.util.*;
public static void main(String s[]){ Scanner sc=new Scanner(System.in);
int a,b,c; System.out.print("Enter length of largest side: "); ...
if(a * a == b * b + c * c) System.out.println("\nIt is a Right angled triangle." ...
else.
Explanation:
Similar questions