explain the term - branching there are two common


Explain the term - Branching

There are two common ways of branching:

case of ..... otherwise ...... endcase

 if ..... then ..... else ..... endif

 

case of                                                                                                 if ... then

case number of                                                                        if number = 1 then x = x + 1

1: x = x + 1                                                                              else if number = 2 then y = y + 1

2: y = y + 1                                                                              else print "error"

otherwise print "error"                                                            endif

endcase                                                                                   endif

 

 

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: explain the term - branching there are two common
Reference No:- TGS0355422

Expected delivery within 24 Hours