Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- void main()
- {
- int k, n;
- cout << "Unesite k: ";
- cin >> k;
- cout << "Unesite n: ";
- cin >> n;
- for (int i = k; i < n; i++)
- {
- if (i%5 != 0)
- {
- cout << i << endl;
- }
- }
- system("pause");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement