1234567891011121314
#include <iostream> int main() { int a {}, b {}; std::cout << "Enter two numbers (first lower than second): "; std::cin >> a >> b; for (int c = a; c <= b; ++c) std::cout << c << ' '; std::cout << '\n'; }