Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- void ciag(int a, int b, int r)
- {
- for(int liczba = a; liczba <= b; liczba += r)
- cout << liczba << ", ";
- cout << "..." << endl;
- }
- int main()
- {
- ciag(5, 100, 10);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement