Advertisement
Josif_tepe

Untitled

Nov 15th, 2024
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.23 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3. int main()
  4. {
  5.     int a, b;
  6.     scanf("%d%d", &a, &b);
  7.    
  8.     for(int i = a; i <= b; i++) {
  9.         for(int j = a; j <= b; j++) {
  10.             printf("%d %d\n", i, j);
  11.         }
  12.     }
  13.    
  14.     return 0;
  15. }
  16.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement