Advertisement
rihardmarius

congruencia (n)

Jul 2nd, 2013
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.34 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7.     int b, i;
  8.     cout << "Ingresar modulo: ";
  9.     cin >> b;
  10.     cout << '\n';
  11.     for(i=0; i<b; i++)
  12.     {
  13.         cout << "Clase del " << i << "\n\n";
  14.         for (int j=-1; j<20; j++)
  15.             cout << i + b * j << " ";
  16.         cout << "\n\n";
  17.     }
  18.     return 0;
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement