Exercise 6: Arithmetic Operators
Let's test your understanding of Arithmetic Operators.
We'll cover the following
Problem Statement
Print the answer to the following equation using R language.
2 + 4 * 9 - 8
Use
cat()
to display your answer to the equation or the test case will not pass.
Sample Output
30
Test Yourself
Write your code in the given area. If you get stuck, you can look at the solution.
# Write your code herecat(" ")