0 like 0 dislike
40 views
in Computer Science by (1.0m points)
What is the role of test condition in for statement?

1 Answer

0 like 0 dislike
by (1.0m points)
Alternatively referred to as a conditional expression and conditional processing, a conditional statement is a set of rules performed if a certain condition is met. It is sometimes referred to as an If-Then statement, because IF a condition is met, THEN an action is performed.

For example, consider the following textual example of a conditional statement.

The example above is how a conditional statement might be interpreted by the human brain. Using a computer programming language, the conditional statement above could be written like the example statements below.

Related questions

0 like 0 dislike
0 answers 28 views
0 like 0 dislike
1 answer 29 views
asked Feb 13, 2019 in Computer Science by danish (1.0m points)
0 like 0 dislike
1 answer 132 views
0 like 0 dislike
1 answer 555 views
asked Apr 2, 2019 in Computer Science by danish (1.0m points)
0 like 0 dislike
1 answer 34 views
asked Feb 14, 2019 in Computer Science by danish (1.0m points)
0 like 0 dislike
1 answer 20 views
0 like 0 dislike
1 answer 29 views
0 like 0 dislike
1 answer 40 views
asked Nov 9, 2018 in Computer Science by danish (1.0m points)
0 like 0 dislike
1 answer 42 views
0 like 0 dislike
1 answer 49 views
asked Nov 9, 2018 in Computer Science by danish (1.0m points)
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
...