Skip to content

Instantly share code, notes, and snippets.

Avatar
⚰️
Old account

Jakub Kaszycki **OLD** KubaKaszycki

⚰️
Old account
View GitHub Profile
@KubaKaszycki
KubaKaszycki / angles-from-triangle-sides.cpp
Created May 30, 2016
C++ program to generate angles from triangle sides, such as "alpha" angle is opposite to "a" side, etc.
View angles-from-triangle-sides.cpp
#include <iostream>
#include <math.h>
using namespace std;
int main() {
long double a, b, c, alpha, beta, gamma;
cout << "Input 3 sides: " << endl;
cin >> a;
cin >> b;
cin >> c;