The question is asking you to come up with a real-life example of something that can be represented as 15+ c= 17.50. If I were you I would do sales tax. You bought an item with a 15 dollar price tag, but when you go to check out 2.50 are added in tax to equal 17.50. to solve subtract 15 from 17.50: c= 2.50. Your variable (c) represents the sales tax. Hope that helps! :)
You can think of x && y || z as equivalent to: int func (int x, int y, int z) { if (x) { if (y) { return true; } } if (z) { return true; } return false; } Since both x and y are fixed to be non-zero values the first return statement is always hit. thats what i think
Well, since a is Susan’s current age, we would add three to a to get her age in three years
So our expression would be:
a + 3
Yes you can assume they are similar because the sides that correspond with one another are half of the big triangles measurements. 16/2=8 12/2=6 etc.