Intro to Java Web-Notes_Part6

# Intro to Java Web-Notes_Part6 - 4.0 Question 5(Worth 3...

This preview shows pages 1–2. Sign up to view the full content.

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 4.0 Question 5 (Worth 3 points) Arithmetic Operators using the arithmetic rules of Java. calculate the value of the following expression: logo ~/ 3.0 0 g“ 0.33 {W 3 3.0 3.33 correct some? 4 4.0 Question 6 (Worth 3 points) Arithmetic Operators Using the arithmetic rules of Java. calculate the value of the following expression: 6““ 0 if 1 m i 2 f“ 3 i” 4 if... 5 is. 6 Question 7 (Worth 3 points) Arithmetic Operators Using the arithmetic rules of Java, calculate the value of the following expression: :22 ,/ 77' is. O 1 2 2:3“ 3 is mites! ESWEWQ‘EF 4 f" 5 is. 6 Question 8 (Worth 3 points) Arithmetic Operators Using the arithmetic rules of Java, calculate the value of the following expression: w» l O {M 1 53"“ 2 3 k 4 5 6 Question 9 (Worth 3 points) Arithmetic Operators Using the arithmetic rules of Java, calculate the value of the’following expression: {4% O 1 f“ 2 Question 10 (Worth 3 points) Arithmetic Operators Which of the following expressions correctly converts the int value 39 to the double value 39.0? .5“ 39 6*“ convert: 39 {2‘ (double) 39 Th” a a M’swer double 39 39 Question 11 (Worth 3 points) Arithmetic Operators What value will be stored in the variable value after the following code has been run? lint, tax :j 10; double; Value} , , ; , r ,, Valuer: (doublet (tax / 4); u”. 2 2.0 “ibis is a cortex: waver 2.25 ...
View Full Document

{[ snackBarMessage ]}

### Page1 / 2

Intro to Java Web-Notes_Part6 - 4.0 Question 5(Worth 3...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online