westerniyanna
westerniyanna westerniyanna
  • 06-01-2021
  • Mathematics
contestada

How do I double check to make sure I have the correct number for a variable?​

Respuesta :

sandlee09
sandlee09 sandlee09
  • 11-01-2021

Answer:

Use Print statement

Step-by-step explanation:

The most common way to check this would be to use the print statement in whatever language you are using to have the value of that variable print to the screen/console. That way you know exactly what value your variable has stored within it at the moment that the print statement runs. Each language has a similar but different print statement like so...

Python: print(variable)

Java: System.out.println(variable);

Answer Link

Otras preguntas

how many centimeters are equal to 2 kilometers?
Which of the following is not a metal? A) Ca B) Se C) Zn D) Mn
The addition of a catalyst in a chemical reaction (A) increases the concentration of products at equilibrium. (B) increases the fraction of reactant molecul
An ambulance driving with velocity v/8 where v is the speed of sound, emits a siren with a frequency of . What is the frequency heard by a stationary observer t
2+3i divided by 3-3i ( a+bi form)
5/8 divide by 1/4  simplest form
explain how light travels
78 divided by 190 steps
On Wednesday Heather ran 3 miles in 30 minutes. If she ran for 45 minutes at this rate on Thursday, how far did Heather run on Thursday?
Term that describes the bending of the rock layers due to the stress? Unscramble IFLGNOD