Computer Science, asked by Nightblade, 1 year ago

The angles of quadrilateral are in ratio 3:4:5:6 write a blue j program to display all its angle [hint: The sum of all the angles of a quadrilateral = 360.

Answers

Answered by intakhaburrahman8
12

Answer:

Let the angles be 3x,4x,5x,6x

sum of quadrilateral-360degree

A/q

3x+4x+5x+6x=360°

18x=360°

x=20°

hence the angles r 3x=3×20=60°

4x=4×20=80°

5x=5×20=100°

6x=6×20=120°

Explanation:

Hope it will helps u

Answered by kitkat333
5

public class KboatQuadRatio

{

   public static void main(String args[]) {

       int r1 = 3, r2 = 4, r3 = 5, r4 = 6;

       double x = 360 / (double)(r1 + r2 + r3 + r4);

       double a = r1 * x;

       double b = r2 * x;

       double c = r3 * x;

       double d = r4 * x;

       System.out.println("Angle A = " + a);

       System.out.println("Angle B = " + b);

       System.out.println("Angle C = " + c);

       System.out.println("Angle D = " + d);

   }

}

Hope this will help :)

Similar questions