find the value of the expression java 1)(a+x*x+b)/(c*x+d)
Answers
a + b = 11
a + b = 11a - b = 7
a + b = 11a - b = 7a * b = 18
a + b = 11a - b = 7a * b = 18a / b = 4
a + b = 11a - b = 7a * b = 18a / b = 4a % b = 1
in the above example, the variables a and b are assigned the values 9 and 2 respectively. Now look at the following statement in the example.System.out.println("a + b = " + (a + b));
a + b = 11a - b = 7a * b = 18a / b = 4a % b = 1In the above example, the variables a and b are assigned the values 9 and 2 respectively. Now look at the following statement in the example.System.out.println("a + b = " + (a + b));Here, a + b = got printed as it is because it is a string enclosed within " ". After that, the expression (a + b) got evaluated and its value (9 + 2 = 11) got printed. Similarly, other statements also got executed.
a + b = 11a - b = 7a * b = 18a / b = 4a % b = 1In the above example, the variables a and b are assigned the values 9 and 2 respectively. Now look at the following statement in the example.System.out.println("a + b = " + (a + b));Here, a + b = got printed as it is because it is a string enclosed within " ". After that, the expression (a + b) got evaluated and its value (9 + 2 = 11) got printed. Similarly, other statements also got executed.We can also use a third variable to store the result of an operation as done in the following example.
Photosynthesis is a process by which phototrophs convert light energy into chemical energy, which is later used to fuel cellular activities. The chemical energy is stored in the form of sugars, which are created from water and carbon dioxide.