Explore BrainMass
Share

Operations and Expressions

This content was STOLEN from BrainMass.com - View the original, and get the already-completed solution here!

Write a program that reads three real numbers, assigns the appropriate boolean value to the following boolean variables, and displays the associated values.

Triangel: true if the real numbers can represent lengths of the sides of a triangle (the sum of any two of the numbrs must be greater than the third); false otherwise.

Equilateral: true if triangle is true and the triangle is equilateral (the three sides are equal); false otherwise

Isosceles: true if triangle is true and the triangle is isosceles (at least two sides are equal): false otherwise

Scalene: ture if triangle is true and the triangle is scalene (no two sides are equal); false otherwise

© BrainMass Inc. brainmass.com October 24, 2018, 6:32 pm ad1c9bdddf
https://brainmass.com/computer-science/algorithms/operations-and-expressions-42899
$2.19
See Also This Related BrainMass Solution

Order of Operations for Algebraic Expressions

1. Why is it necessary to study the order of operations and the laws of operations before you start solving equations?
2. Of the three laws, commutative, associative, and distributive, which one is most frequently used in algebra? Why?
3. How does a term differ from a factor?
4. When adding or subtracting expressions, how do you identify like terms. Show an example.

View Full Posting Details