At least in Java, that's legal - 2 is treated as an int, which can be converted without problems to the float type.
Chat with our AI personalities
it equals 1
If: f/7 -8 = 2 Then: f = 70
31
if f(x) = 3x + 2 and you're looking for f(2), just plug in 2 for x: f(2) = 3(2) + 2 = 6 + 2 = 8.
3