Skip to content

Commit ae95532

Browse files
committed
Bla
1 parent a202934 commit ae95532

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

MyFirstScalaProject/scripts/hello.sc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
object hello {
2+
println("Welcome to the Scala worksheet")
3+
}
4+
5+
def max(x:Int, y:Int) : Int = {
6+
if (x>y) return x else return y
7+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
println ("Hello, World, from a script")

0 commit comments

Comments
 (0)