Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def main(args: Array[String]) = {
- val xxxxx = 1
- xxxxx = 2
- val a = 0
- val b = 3
- if(a > b) {
- println(b)
- } else {
- println(a)
- }
- val input = scala.io.StdIn.readLine()
- val output = 0
- println(output)
- val x = 11
- x match {
- case 0 =>
- "zero"
- case 1 =>
- "one"
- case 2 =>
- "two"
- case 3 =>
- "three"
- case 4 =>
- "four"
- case 5 =>
- "five"
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement