How to find out the third angle,if you know the other two angles using C programming language.
#include <stdio.h>
#include <stdlib.h>
int main(){
int ang1,ang2,ang3;
printf("Enter the Angles : \n");
scanf("%d%d",&ang1,&ang2);
ang3 = 180 - (ang1 + ang2);
printf("The third angle : %d",ang3);
return 0;
}
Comments
Post a Comment