fork download
  1. #import <Foundation/Foundation.h>
  2.  
  3. int main( int argc, const char * argv[ ] )
  4. {
  5. /* local variable definition */
  6. int a = 20;
  7.  
  8. /* do loop execution */
  9. do {
  10. NSLog(@"value of a: %d\n", a);
  11. a = a+1;
  12. }while( a < 20 );
  13.  
  14. return 0;
  15. }
Success #stdin #stdout #stderr 0.03s 42848KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
2016-05-02 11:32:57.302 prog[21578] value of a: 20