Zero printer

Report a typo

Modify a program so that it prints zero as the output.

Write a program in Scala 3
object Main extends App {
val a = 3
val b = 4
var c = a; + b
val d = c
- a - b
println(d)
}
___

Create a free account to access the full topic