Untitled

mail@pastecode.io avatar
unknown
c_cpp
7 months ago
221 B
0
Indexable
Never
#include <iostream>
#include <string>
using namespace std;


int 
main() {
	int suma = 0;
	
	long long a;
	cin >> a;
	a += 1;
	for (int i = 1; i < a; i++) {

		suma += i;
		


	}
	cout << suma;
	
	
}