cklangford98 cklangford98
  • 03-03-2018
  • Computers and Technology
contestada

Which of the following illustrates the proper declaration of a variable and data type to hold a whole number?

int myNumber = 10;

Int myNumber = "10";

myNumber = 10 + "10";

float myNumber = 5;

Respuesta :

spikespaz
spikespaz spikespaz
  • 04-03-2018
The first one,

int myNumber = 10;
Answer Link

Otras preguntas

When a sample of a gas is heated in a sealed, rigid container from 200. K to 400. K, the pressure exerted by the gas is (1) decreased by a factor of 2. (2) incr
Find the value of 15.0 Newton in pounds
Who is the Commander in Chief of the military?
What is A ∩ B?    Let set A = {odd numbers between 0 and 100} and set B = {numbers between 50 and 150 that are evenly divisible by 5}.
Who is the Commander in Chief of the military?
Name one U.S. territory
Given the balanced ionic equation: 3Pb2+ + 2Cr ==> 3Pb + 2Cr3+ What is the number of moles of electrons gained by 3.0 moles of lead ions? (1) 5.0 mol (3)
Name two national U.S. holidays
We elect a President for how many years?
How do you multiply a decimal? For exapmple,2.4 times 3.5