Question: Good Luck! Name: Year Level: Section: Date: Laboratory Practice Task 3.1: Precedence of Arithmetic Operators Instructions: Develop a program to evaluate the following arithmetic expressions

Good Luck! Name: Year Level: Section: Date: Laboratory Practice Task 3.1: Precedence of Arithmetic Operators Instructions: Develop a program to evaluate the following arithmetic expressions using the values provided below: a = 10, b = 20, c = 15, d = 8, e = 40 1. x= a* (b * b) - (c* b) +d Note: If the variables a, b, c, d with a data type of int what is the value of x. FILENAME: PTASK3a.cpp. 2. z= (a+ b / (c - 5))/((d +7) / (e -37)) % 3 Note: What is the value of z. FILENAME: PTASK3b.cpp a = 10; b = 20; c = 5;d = 15; f = 15; g = 30; i = 2; 3. result = (a + b/ c - 15/ d + 30/ f - 5* 1); Note: What is the value of the variable result? FILENAME: PTASK3c.cpp
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
