• + 0 comments

    check the if condition..if the number is odd it will print weird and skip the else part. if the 'if' part proves false then by default the number is even ,it will enter the else loop to check for the limit condition and those numbers might be 6,8,10,12,14,16,18,20