- 3

Write a program that will multiply the sum of 5 and 6 by 57.3 and output the result.

Solve this problem and xplain

26th Oct 2021, 1:05 AM
Teach Me How To Code
Teach Me How To Code - avatar
2 Answers
0
2BpenciL YT If you can post your attempt here with a better explanation of the challenge, then we may be able to assist further. I suspect this challenge has something to do with operator precedence. 5 + 6 * 57.3 = 348.8 -> because * takes precedence over + However (5 + 6) * 57.3 = 630.3
26th Oct 2021, 2:13 AM
Rik Wittkopp
Rik Wittkopp - avatar