Skip to main content
edited body
Source Link
MD XF
  • 14.3k
  • 5
  • 70
  • 108

Proton, posted by HyperNeutrino

HyperNeutrino posted this:

class M{fun main{args:Array<String>}{for(i=0;i<100;i++){if(i or i==0)print(i);}}} 

Try it online!

Of course, he should have posted this:

class M{fun main{args:Array<String>}{for(i=0;i<=100;i++i=1;i<=100;i++){if(i or i==0)print(i);}}} 

Try it online!

Proton, posted by HyperNeutrino

HyperNeutrino posted this:

class M{fun main{args:Array<String>}{for(i=0;i<100;i++){if(i or i==0)print(i);}}} 

Try it online!

Of course, he should have posted this:

class M{fun main{args:Array<String>}{for(i=0;i<=100;i++){if(i or i==0)print(i);}}} 

Try it online!

Proton, posted by HyperNeutrino

HyperNeutrino posted this:

class M{fun main{args:Array<String>}{for(i=0;i<100;i++){if(i or i==0)print(i);}}} 

Try it online!

Of course, he should have posted this:

class M{fun main{args:Array<String>}{for(i=1;i<=100;i++){if(i or i==0)print(i);}}} 

Try it online!

Source Link
MD XF
  • 14.3k
  • 5
  • 70
  • 108

Proton, posted by HyperNeutrino

HyperNeutrino posted this:

class M{fun main{args:Array<String>}{for(i=0;i<100;i++){if(i or i==0)print(i);}}} 

Try it online!

Of course, he should have posted this:

class M{fun main{args:Array<String>}{for(i=0;i<=100;i++){if(i or i==0)print(i);}}} 

Try it online!