8 kyu
Grasshopper - Order of operations
8,803 of 8,804danleavitt0
Description:
Grasshopper Order of Operations
You are running the calculation 2 + 2 * 2 + 2 * 2 and expect to get the answer 32 but instead the function keeps returning 10. Fix the function to make it return 32 without changing the number or the operators.
Fundamentals
Similar Kata:
Stats:
Created | Oct 2, 2015 |
Published | Oct 10, 2015 |
Warriors Trained | 9957 |
Total Skips | 156 |
Total Code Submissions | 13164 |
Total Times Completed | 8804 |
JavaScript Completions | 8803 |
Total Stars | 41 |
% of votes with a positive feedback rating | 89% of 1496 |
Total "Very Satisfied" Votes | 1241 |
Total "Somewhat Satisfied" Votes | 195 |
Total "Not Satisfied" Votes | 60 |