7705957289
7705957289 7705957289
  • 17-09-2019
  • Computers and Technology
contestada

What is an “if” statement used for in a program?

Respuesta :

robz62
robz62 robz62
  • 17-09-2019
An if statement is a programming conditional statement that, if proved true, performs a function or displays information. ... In the example above, if the value of X were equal to any number less than 10, the program would print, or display, "Hello John" on the console when the script is run.
Answer Link

Otras preguntas

slugs are the only member of what that have no shells
what the break in the lithosphere called
You want to invest $10,000 dollars. How long will it take to double your investment at an annual interest rate of 10%, compounded continuously? (Round your answ
abbie spent 5/8 of her money and saved the rest. if she spent 45,how much money did she have at first?
The graph of [tex]y=4x-11[/tex] is translated up 8 units. Which equation represents the translated graph?
advantages and disadvantages of resonance
abbie spent 5/8 of her money and saved the rest. if she spent 45,how much money did she have at first?
A group consisted of 2 girls for every boy. 24 more girls joined in the class. There are now 5 girls for every boy. How many are in the class?
why we do not feel the heat and light of countless twinkliing stars?
why has relying on one crop or resource presented an economic problem for many latin american nations?  how have these nations been trying to solve this problem