Code cpp tinh luong co ban va thuc linh
using namespace std;
#include <iostream>
int main(){
int luongCoBan = 4550000;
float ngayCongThucTe = 23.5;
double luongCoBanThucLinh = luongCoBan/26 * ngayCongThucTe;
cout.precision(10);
cout <<"Luong co ban thuc linh = " << luongCoBanThucLinh <<endl;
// tinh bao hiem
double soTienBaoHiem = (float)35/100 * 3990000;
cout <<"So tien bao hiem phai dong = " << soTienBaoHiem <<endl;
// Lam them gio
double tienLamThemGio = 6250000;
cout <<"Tien lam them gio = " << tienLamThemGio <<endl;
// Thuc linh
double tienThucLinh = luongCoBanThucLinh + tienLamThemGio - soTienBaoHiem;
cout <<"Tien thuc linh = " << tienThucLinh <<endl;
}