View the step-by-step solution to:

# Study the incomplete code in CODE SECTION 1 and answer question 1 that follows. CODE SECTION 1:

Study the incomplete code in CODE SECTION 1 and answer question 1 that follows.

CODE SECTION 1:

double axe1 = 15;

double axe2 = 25;

//--(i)--

Question 1 (1)

Indicate which of the following statements for the missing code in (i) will NOT render and error message.

(1)

double total = axe1 + axe2

(2)

float total = axe1 + axe2;

(3)

int total = axe1 + axe2;

(4)

double total = axe1 + axe2;

(5)

None of the above

double total = axe1 + axe2; The reason why this will not render an error message is because the... View the full answer

Output: option 2. 40.000000... View the full answer

(1) double total = axe1 + axe2 It will not run as ; terminal is not there. (2) float total = axe1 + axe2; Although it will... View the full answer

### Why Join Course Hero?

Course Hero has all the homework and study help you need to succeed! We’ve got course-specific notes, study guides, and practice tests along with expert tutors.

### -

Educational Resources
• ### -

Study Documents

Find the best study resources around, tagged to your specific courses. Share your own to gain free Course Hero access.

Browse Documents