#include using namespace std; void tong() { int n; float s=0; cout<<"Nhap n: ";cin>>n; for(int i=1;i<=n;i++) { float tmp = i*1.0*(i+1)/(i+2)/(i+3); s+=tmp; } cout<<"=> S = "<>th; }while(th>12 && th<1); do { cout<<"Nhap nam: ";cin>>nam; }while(nam<0); cout<<"Thang "<>m; switch(m) { case 1: { system("cls"); tong(); system("pause"); break; } case 2: { system("cls"); ngay(); system("pause"); break; } case 0: { system("cls"); cout<<"Ket thuc!!!"; return 0; } } }while(m>2 && m<0); } return 0; }