help in pair code

#include <iostream>
using namespace std;
main(){
int n;
cin >>n;
for(int i=1;n<=100;i++){
for(int k=1;n<=100;k--){

}
}

return 0;
}
So i wrote this I need help what do i have to cout ?
it has to cout all possible pairs
All possible pairs of what?

EDIT: But this is just a duplicate of the question you asked in your other thread:

http://www.cplusplus.com/forum/general/246322/

Please DON'T start multiple threads on the same subject.
Last edited on
See this thread on the same topic: http://www.cplusplus.com/forum/beginner/246259/
You might get a hint.

HINT: Try printing the values of i and k and what do you observe? Any kind of pattern?
Topic archived. No new replies allowed.