1. How would each of the following numbers be represented in E notation? a. 3.287 × 10⁶ b. −9.7865 × 10¹² c XXXXXXXXXX × 10−3 2. What will the following code output? int apples = 0, bananas = 2, pears...


1. How would each of the following numbers be represented in E notation?


a. 3.287 × 10⁶


b. −9.7865 × 10¹²


c. 7.65491 × 10−3


2. What will the following code output?


int apples = 0, bananas = 2, pears = 10;


apples += 10;


bananas *= 10;


pears /= 10;


System.out.println(apples + " " +


 bananas + " " +


 pears);


3. What will the following code output?


double d = 12.9;


int i = (int)d;


System.out.println(i);



Dec 02, 2021
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here