Skip to main content
added 4 characters in body
Source Link
Ewan
  • 84.5k
  • 5
  • 91
  • 189

Yes, but your syntax is unconventional and hence bad(tm)

Hopefully your language supports something like

while(condition) //condition being a statecondition which if true you want to continue looping { do thing; //your conditionally executed code goes here i++; //you can use a counter if you want to reference array items in order of index } 

Yes, but your syntax is unconventional and hence bad(tm)

Hopefully your language supports something like

while(condition) //condition being a state which if true you want to continue looping { do thing; //your conditionally executed code goes here i++; //you can use a counter if you want to reference array items in order of index } 

Yes, but your syntax is unconventional and hence bad(tm)

Hopefully your language supports something like

while(condition) //condition being a condition which if true you want to continue looping { do thing; //your conditionally executed code goes here i++; //you can use a counter if you want to reference array items in order of index } 
deleted 4 characters in body
Source Link
radarbob
  • 5.9k
  • 22
  • 34

Yes, but your syntax is unconventional and hence bad(tm)

Hopefully your language supports something like

while(condition) //condition being a conditionstate which if true you want to continue looping { do thing; //your conditionally executed code goes here i++; //you can use a counter if you want to reference array items in order of index } 

Yes, but your syntax is unconventional and hence bad(tm)

Hopefully your language supports something like

while(condition) //condition being a condition which if true you want to continue looping { do thing; //your conditionally executed code goes here i++; //you can use a counter if you want to reference array items in order of index } 

Yes, but your syntax is unconventional and hence bad(tm)

Hopefully your language supports something like

while(condition) //condition being a state which if true you want to continue looping { do thing; //your conditionally executed code goes here i++; //you can use a counter if you want to reference array items in order of index } 
added 152 characters in body
Source Link
Ewan
  • 84.5k
  • 5
  • 91
  • 189

Yes, but your syntax is unconventional and hence bad(tm)

Hopefully your language supports something like

while(condition) //condition being a condition which if true you want to continue looping { do thing; //your conditionally executed code goes here i++; //you can use a counter if you want to reference array items in order of index } 

Yes, but your syntax is unconventional and hence bad(tm)

Hopefully your language supports something like

while(condition) { do thing; i++; } 

Yes, but your syntax is unconventional and hence bad(tm)

Hopefully your language supports something like

while(condition) //condition being a condition which if true you want to continue looping { do thing; //your conditionally executed code goes here i++; //you can use a counter if you want to reference array items in order of index } 
Source Link
Ewan
  • 84.5k
  • 5
  • 91
  • 189
Loading