Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Module(letter one, List(
- Function(true,applejack's drinking song,List(), List(
- Assignment(applejack,NumberValue(99)),
- WhileStat(Relational(VariableValue(applejack),>,NumberValue(1)), List(
- PrintStat(Concatenation(List(StringValue( ), VariableValue(applejack), StringValue( jugs of cider on the wall, ), VariableValue(applejack), StringValue( jugs of cider,)))),
- Increment(applejack,-1),
- IfStat(Relational(VariableValue(applejack),>,NumberValue(1)), List(
- PrintStat(Concatenation(List(StringValue(take one down and pass it around, ), VariableValue(applejack), StringValue( jugs of cider on the wall.))))
- ), List(
- PrintStat(Concatenation(List(StringValue(take one down and pass it around, 1 jug of cider on the wall.
- 1 jug of cider on the wall, 1 jug of cider.
- take one down and pass it around, no more jugs of cider on the wall.)))))
- )
- ), List(
- PrintStat(Concatenation(List(StringValue(no more jugs of cider on the wall, no more jugs of cider.
- go to the store and buy some more, 99 jugs of cider on the wall.)))))))
- )
- )
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement