if value of an angle is input through the keyboard, write a program to print all its trigonometric ratios. - Code With Friends

Breaking

Home Top Ad

Search Your Questions

Wednesday, February 20, 2019

if value of an angle is input through the keyboard, write a program to print all its trigonometric ratios.

#include <stdio.h>

int main()
{
    int x,y,z;


    printf("Enter two angles of triangle: ");
    scanf("%d%d", &x,&y);


    z=180 - (x +y);


    printf("Third angle of the triangle = %d", z);

    return 0;
}




No comments:

Post a Comment