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

Each day, a salesperson earns $25 plus 5% of their total sales for the day. The salesperson's goal is to earn more than $50 on Thursday. Which statements are tr
PLSSSS HELP ME ASAP ILL GIVE YOU BRAINIEST!!!
What are 2 ways that black codes met their intended goals?
Me gusta que la clase_____(ser) simpática
This is for my Iready and I’m super confused the story problem reads ""Lola rode her bike for 7/10 of an hour on Saturday and 3/5 of an hour on Sunday. How much
In a triangle, a 32° angle is between two sides of 12 feet and 16 feet. What is the length of the third side, in feet? Round to one decimal place.
Find the angle measures.
compare |-0.658| and |-0.653|.
What is the mean absolute deviation (mad) of the data set? 2, 5, 6, 12, 15 enter your answer as a decimal in the box.
1. Which indicates the dilation of a figure in the coordinate plane? A. (x,y) —> (kx,ky) B. (x,y) —> (-y,x) C. (x,y) —> (-x,-y) D. (x,y) —> (x+h,y+v