Question: 2) Evaluate the following expression: 3 * 4 % 6 + 4 * 5 3) Every executable statement in C must end with a _________________.
2) Evaluate the following expression:
3 * 4 % 6 + 4 * 5
3) Every executable statement in C must end with a _________________.
5) Write the complete variable declaration for a variable called number which should be able to hold values containing up to 3 decimal places.
6) Write the complete format control string to print a number with 2 places after the decimal. Allow 10 columns for the output.
9) The variable num1 is an integer, and has the value 10.
The variable num2 is an integer, and has the value 6.
What is the value of each of the variables after the following statement executes? The variable result is a double.
result = (double) num1 / num2;
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
