summaryrefslogtreecommitdiff
path: root/1p19.cpp
blob: 5d1d104a794929671e27d05bb8352274ca4058ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#include <iostream>

/*
 *
 * Exercise 1.19
 *
 *
 */

int main () {

	int64_t beg;
	int64_t end;
	std::cout << "Enter beginning and end number: ";
	std::cin >> beg >> end;
	while(beg <= end) {
		std::cout << beg << " ";
		beg++;
	}

	std::cout << std::endl;
	return 0;
}