Skip to main content
Commonmark migration
Source Link

#Bash, 24

Bash, 24

echo $[$1$2-69?$1*$2:42]

Saves a couple of bytes by just doing one test - checking if the string concatenation of the inputs is 69.

Try it online.

#Bash, 24

echo $[$1$2-69?$1*$2:42]

Saves a couple of bytes by just doing one test - checking if the string concatenation of the inputs is 69.

Try it online.

Bash, 24

echo $[$1$2-69?$1*$2:42]

Saves a couple of bytes by just doing one test - checking if the string concatenation of the inputs is 69.

Try it online.

Source Link
Digital Trauma
  • 73k
  • 9
  • 112
  • 264

#Bash, 24

echo $[$1$2-69?$1*$2:42]

Saves a couple of bytes by just doing one test - checking if the string concatenation of the inputs is 69.

Try it online.