#include #include using namespace std; int main() { int dg,gg,zbir=0,temp; cout<<"Interval od: "; cin>>dg; cout<<"Interval do: "; cin>>gg; if(dg>gg) { temp=dg; dg=gg; gg=temp; } for(int i=dg;i<=gg;i++) { zbir=zbir+i; } cout<<"Zbir je: "<