Thanks for the help guys
Type: Posts; User: Kaza
Thanks for the help guys
If i would ask to print S() it would print 0
Well it should fail 2nd test and print triangle does not exist but i also rewrote the code. Now it checks if the triangle is real at the end and prints the answer based on that
s=(a, b , c); i just forgot the 2nd S
void duom(double &a, double &b, double &c)
{
ifstream in("sk.txt");
in >> a;
in >> b;
in >> c;
in.close();
}