0 like 0 dislike
42 views
in Biology by (1.0m points)
what is if-else if statement? Explain with the help of an example.

1 Answer

0 like 0 dislike
by (1.0m points)
An if statement is a programming conditional statement that, if proved true, performs a function or displays information. Below is a general example of an if statement, not specific to any particular programming language.

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. See the conditional statement definition for further information and some basic programming examples.

Related questions

0 like 0 dislike
1 answer 29 views
0 like 0 dislike
0 answers 33 views
0 like 0 dislike
0 answers 44 views
asked Nov 6, 2018 in Biology by danish (1.0m points)
0 like 0 dislike
1 answer 49 views
0 like 0 dislike
1 answer 162 views
0 like 0 dislike
1 answer 43 views
0 like 0 dislike
1 answer 25 views
asked Feb 7, 2019 in Pak. Studies by danish (1.0m points)
0 like 0 dislike
1 answer 18 views
0 like 0 dislike
1 answer 255 views
0 like 0 dislike
0 answers 71 views
Welcome to Free Homework Help, where you can ask questions and receive answers from other members of the community. Anybody can ask a question. Anybody can answer. The best answers are voted up and rise to the top. Join them; it only takes a minute: School, College, University, Academy Free Homework Help

19.4k questions

18.3k answers

8.7k comments

3.3k users

Free Hit Counters
...