summaryrefslogtreecommitdiff
path: root/3p1-1p9.cpp
blob: ba717e3a2d02f19bab31ea88353e3ded34244331 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#include <iostream>
#include "sales_item.hpp"

/*
 *
 * 3.1, 1.9
 *
 *
 */

using std::cout;
using std::cin;
using std::endl;
int main () {

	int i = 50;
	int sum = 0;
	while(i <= 100) {
		sum += i;
		i++;
	}

	cout << sum << endl;
	return 0;
}