Sunday 21 July 2013

How to use CASE Statements in Behavior Modeling Style-





CASE Statements (Behavior Modeling Style) -



Syntax -



case     (identifier) 
ch1    :   begin     statements ;      end
ch2    :   begin     statements ;      end  
ch3    :   begin     statements ;      end
...
...
...
default    :   begin     statements ;      end
endcase



Sample Programs & Exercise -




0 comments :

Post a Comment

 
Design by Wordpress Theme | Bloggerized by Free Blogger Templates | coupon codes