About 6,330,000 results
Open links in new tab
  1. Write a C program to check whether a triangle is right angle

    Write a C program to check whether a triangle is a right-angle triangle, in this C program example, we will see how to check a triangle is a right angle triangle by using an if-else statement. Enter side a:6. Enter side b:8. Enter side c:10. The triangle is a right angle triangle. Enter side of a:5. Enter side b:7. Enter side c:14.

  2. Java Program to Check for Right Angled Triangle - HackerNoon

    Oct 21, 2022 · So, we have to take the input of the two sides of a triangle and a hypotenuse. Calculate the sum of squares of the other two sides and if the sum is equal to the square of the hypotenuse, the triangle is right-angled.

  3. C++ program to check whether a triangle is right angle or not

    In this blog, we create a program to check whether a triangle is right-angled or not. What is a “Right angle triangle”? Being a right angle means a*a==b*b+c*c Or b*b==c*c+a*a Or c*c==a*a+b*b either condition is true then it is A right triangle. For a right triangle to be valid, it must meet the following criteria:

  4. find if the triangle is right, acute or obtuse angled

    Oct 10, 2011 · I have to find out if a triangle is right, acute or obtuse angled from 3 given side lengths of the triangle. This is what I have until now: int x,y,z; printf("Type in the integer lengths of 3 sides of a triangle:\n"); scanf("%d %d %d", &x, &y, &z); //reads the user's inputs. if((x<=0) || (y<=0) || (z<=0)) { printf("This is not a triangle.\n");

  5. 4 ways in Java to print a right-angled triangle - CodeVsColor

    Jun 14, 2022 · Different ways in Java to print a right-angled triangle. Learn how to print it by using for loops, while loops, with any character and by using a separate method.

  6. Exploring Right Angles in Coding - Code With C

    Feb 8, 2024 · From calculating the angles of geometric shapes to transforming them into something extraordinary, coding algorithms with right angles elevate your programming game.

  7. Python Program to Check if right triangle possible from given …

    Sep 5, 2024 · The “legs” of a triangle are the two sides that cross over one another to make a right angle. The “hypotenuse” side of a triangle is the side that faces the right angle formed by the triangle. In this article, we’ll provide the right triangle’s …

  8. Right Triangle Printing In C - Online Tutorials Library

    Learn how to print a right triangle using C programming with examples and step-by-step explanations.

  9. C Code for Right-Angled Triangle - CodePal

    Check if a triangle with given side lengths is a right triangle using C code. Learn how to implement the Pythagorean theorem in C.

  10. C program to print right angle triangle - Stack Overflow

    Aug 9, 2010 · I am trying to write a program in C using for loops which will output a pattern similar to this: 1 2 3 4 5 6 7 8 9 10 As you can see the pattern is a right angled triangle with each row with the same amount of numbers as the first number in each row.

  11. Some results have been removed
Refresh