Advertisement
Vanya_Shestakov

Untitled

Dec 2nd, 2021
180
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. def main(args: Array[String]) = {
  2.  
  3. val xxxxx = 1
  4. xxxxx = 2
  5. val a = 0
  6. val b = 3
  7. if(a > b) {
  8. println(b)
  9. } else {
  10. println(a)
  11. }
  12.  
  13. val input = scala.io.StdIn.readLine()
  14. val output = 0
  15. println(output)
  16.  
  17. val x = 11
  18.  
  19. x match {
  20. case 0 =>
  21. "zero"
  22. case 1 =>
  23. "one"
  24. case 2 =>
  25. "two"
  26. case 3 =>
  27. "three"
  28. case 4 =>
  29. "four"
  30. case 5 =>
  31. "five"
  32. }
  33. }
  34.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement