define the the if statement - computer


Define the The if statement - Computer Programming?

The if statement is an influential selection statement and is used to control the flow of execution of statements. One of the possible actions is able to be executed by this statement. The universal form of "if" statement is

                        if(expression)

                        {

                                    statements;

                        }

The expressions have to be placed in parenthesis. The statement will be executed only if the expression is true or returns a non - zero number and if the expression is false, then the statement will not be executed. The conditional operators ':' and'?' are used in alternative for 'if 'statement.

Request for Solution File

Ask an Expert for Answer!!
Application Programming: define the the if statement - computer
Reference No:- TGS0304216

Expected delivery within 24 Hours