If c were 3, the answer would be 30. If c were 5, the answer would be 130.
c3+c1 = (c*c*c) + c
Chat with our AI personalities
There is no "power" operator in C or C++. You need to the use the math library function pow().
The equation contains variables which are only raised to the first power.
By learning how to program on C+.
b+b+b+c+c+c+c =3b+4c
The theorem you are referring to is a2+b2=c2 which is called the Pythagorean theorem. This describes the side lengths of a right triangle in which the two sides that meet at a right angle are sides a and b respectively and side c is the hypotenuse.