Question: Using Dr Racket IDE, BSL (@problem 1) Write the BSL expression that most clearly represents the following ;; arithmetic expression ((4 * 6) / 8

Using Dr Racket IDE, BSL

(@problem 1)

Write the BSL expression that most clearly represents the following ;; arithmetic expression ((4 * 6) / 8 + 7) * (6 - 1) which equals 50. We have a single answer in mind that both produces the correct result and most closely matches the structure of the equation. So while just 50 is an expression that evaluates to 50, that is not the answer we are looking for, because it doesn't show the structure of the expression above. Your answer should follow the line with the @problem tag below.

I put (* (/ (* 4 6) (+ 8 7)) (- 6 1)) which equals 8 though. I tried writing different numbers so it would equal 50, but when put into the autograder, it gave me 0. So I assume something is wrong with my arithmetic.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!