InterviewSolution
Saved Bookmarks
| 1. |
1. Explain Conditional Statements and its syntax with the help of an example. |
|
Answer» Using a computer programming LANGUAGE, the conditional STATEMENT above COULD be written like the example statements below. ... if ($myval < 10) { print "Value is less than 10"; } In this example, if the variable $myval is less than 10, the software program PRINTS "Value is less than 10" to the screen. |
|