dllbridge

Untitled

Sep 8th, 2019
177
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <iostream>
  2. //using namespace std;
  3. int arr[10] = {22, 3, 11, 7};
  4.  int a = arr[1]
  5.  int b = arr[2]
  6.  int c = arr[3]
  7.  int d = arr[4]
  8.  
  9. int a, b, c, d ;
  10.   cin >> a >> b >> c >> d;
  11.   for (int i = a ; i <= b ; i++)
  12.     if (i % d == c)
  13.       cout << i << ' '
RAW Paste Data