Skip to main content
2 of 2
4 bytes shaved off by @Pietu1998
karhell
  • 421
  • 2
  • 8

Befunge : 15 11 bytes / 2 versions = 5.5

4 bytes shaved off by @Pietu1998

"89",;5-;,@ 

Try it online :
Befunge 93
Befunge 98
Uses the Befunge 98-exclusive semicolon operator ("skip to next semicolon") to differentiate versions. Both will print "9". Befunge 93 will ignore the semicolons, subtract 5 from "8" (value left on top of the stack), print the resulting "3" and terminate. Befunge 98 on the other hand, will skip over, print "8" and terminate.

karhell
  • 421
  • 2
  • 8