Skip to content

Instantly share code, notes, and snippets.

View eng-atwijukire's full-sized avatar
🙂
I Dream of a World where Everyone Learns about Technology🧑‍💻

Eng. Atwijukire eng-atwijukire

🙂
I Dream of a World where Everyone Learns about Technology🧑‍💻
View GitHub Profile
@eng-atwijukire
eng-atwijukire / Main.scala
Created December 21, 2019 16:32 — forked from zezutom/Main.scala
Coursera, progfun1: Recursion
package recfun
object Main {
def main(args: Array[String]) {
println("Pascal's Triangle")
for (row <- 0 to 10) {
for (col <- 0 to row)
print(pascal(col, row) + " ")
println()
}