C++
class Triangle {
public:
static int otherAngle(int a, int b) {
return 180 - a - b;
}
};
R
other_angle <- function(a, b){
180-a-b
}
class Triangle {
public:
static int otherAngle(int a, int b) {
return 180 - a - b;
}
};
other_angle <- function(a, b){
180-a-b
}