RosettaCodeData/Task/Conditional-structures/Dao/conditional-structures-1.dao

9 lines
143 B
Text
Raw Permalink Normal View History

2013-04-10 16:57:12 -07:00
a = 3
if( a == 1 ){
io.writeln( 'a == 1' )
2015-02-20 00:35:01 -05:00
}else if( a== 3 ){
2013-04-10 16:57:12 -07:00
io.writeln( 'a == 3' )
}else{
io.writeln( 'a is neither 1 nor 3' )
}