This question must be silly though...
I myself find it very silly...
will this not work for multiple conditions
I am really puzzled at this onewill the comma in for loop not symbolise AND...Code:#include<iostream> using namespace std; int main() { int i,j; for(i=1;i<=5;i++) { for(j=1; j<=5 ,j>=i ;j++) { cout<<"\n"<<i<<"-"<<j; } } return 0; }
Ofcourse i used AND explicitly...
But i need to know why this is not working
---I may be wrong