index
:
7l
master
Solutions for the books "7 languages in 7 weeks" I + II
gramos
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
scala
/
while.scala
blob: 24b0f717aefa5d5b9b362525ace959f46eb3ab13 (
plain
) (
blame
)
1
2
3
4
5
6
7
8
9
def
whileLoop
{
var
i
=
1
while
(
i
<=
3
)
{
println
(
i
)
i
+=
1
}
}
whileLoop