Skip to content

Commit

Permalink
docs(examples): add example program for if-else statements
Browse files Browse the repository at this point in the history
  • Loading branch information
aadhithya committed May 16, 2022
1 parent 2a219dc commit b463b52
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
File renamed without changes.
15 changes: 15 additions & 0 deletions examples/if_else_conditional.rpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
LAKSHMI START

AANDAVAN SOLLRAN x ARUNACHALAM SEIYARAN 5;


DOT "Example: If-Else Statement";
!! if statement.
EN PEAR MANICKAM x > 10{
DOT "x (" x ") is larger than 10!";
} !! else statement.
ENAKKU INNURU PEAR IRUKKU{
DOT "x (" x ") is less than 10!";
} KATHAM KATHAM;

MAGIZHCHI

0 comments on commit b463b52

Please sign in to comment.