tvillaoy2wbx tvillaoy2wbx
  • 25-11-2017
  • Computers and Technology
contestada

how do i write this in c++ = scnr.nextInt();
please help

Respuesta :

rsmith6559
rsmith6559 rsmith6559
  • 26-11-2017
int whatever = scnr.nextInt();



Although usually when a class has a next* member function, it usually needs to check that there IS a next, that you haven't reached the end. Without knowing the class that scnr was instantiated from, I can't guess.
Answer Link

Otras preguntas

35% of what number is 17
I need 10 facts about John Williams
I need help with the following three physics problems please!
How to add and subtract fractions
I need 10 facts about John Williams
What work ends with the phrase, "Workers of all countries, unite!"?
Perform the operations, multiply, and simplify.-a^3b (3a^2 b^5 - ab^4 - 7a ^2 b)
the famous irrational numbers
A 10.0-milliliter sample of NaOH(aq) is neutralized by 40.0 milliliters of 0.50 M HCl. What is the molarity of the NaOH(aq)?
I need to find the zeros of the function:f(x)=2x^2-5x-3