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

Sufism the mystic practice of Islam can be seen today
I have been at this for an hour please help Jason can paint a room in 6 hours. Lorissa can paint a room in only 3 hours. Which of the following can be used to d
9/10 as a unit fraction
faceti-mi si mie un colaj despre ziua unirii romaniei cu dobrogea
How do you solve 8x-2y=24
A group of friends have come upon a sea turtle nesting and notice hatchlings in the process of crawling out of shells. Which would be an appropriate action to
trayquan and his two friends have to run 1.8 miles for football practice. The boys decide to take turns running thec1.8 miles. How many miles will each boy have
Which areas of Greenland are not covered in ice
HELPPP PLEASE!! Other proteins can be used to establish degrees of evolutionary relatedness between organisms. Would you expect to find roughly the same number
What is the antonym for haven