#include using namespace std; int main() { int n, m; float tongchan = 0; float tongle = 0; float tongchan_am = 0; float tongle_am = 0; cout<<"Nhap n: "; cin>>n; cout<<"Nhap m: "; cin>>m; for (int i = -n; i <= m; i++) { if (i % 2 == 0) { if (i > 0) { tongchan += i; } else { tongchan_am += i; } } else { if (i > 0) { tongle += i; } else { tongle_am += i; } } } cout<<"Tong chan = "<