Write A Short Code Using C++ To Print Out All Odd Number From 1 To 100 Using A For Loop

Write A Short Code Using C++ To Print Out All Odd Number From 1 To 100 Using A For Loop


  • 22 Dec, 2011

    for( unsigned int i = 1; i < = 100; i++ ) if( i & 0x00000001 ) cout << i << ",";

    Comments Received:
    Please give your suggestions and feedback:

2009-2016 downloadmela.com. All rights reserved.