Sample output: name is Mike, age is 30, and major is CS
Note: you can use this equation for converting from Fahrenheit to Celsius: C
Celsius= (5/9) * (fahrenheit-32);
Sample output: temperature in Fahrenheit=55 and the value in Celsius= 12.777777777777779
1. var z = 5, r;
r = (++z) + 5;
2. var f = 5, e;
e = (f++) + 5;
3. var a = 2,
b = 4,
c = 3 + a * b;
d = b / a / 2;
What are the values of r, e, c, and d variables?
Try to answer the question by:
1. Calculating the results manually.
2. Confirm your results by using the document method to print the results of r, e, c, and d values.