Составление программы в C++ Builder 6 для расчета заработной платы рабочих

Страницы работы

Фрагмент текста работы

StringGrid3->Cells[2][4])+ StrToInt(StringGrid3->Cells[2][5]));

StringGrid3->Cells[2][7]=IntToStr(StrToInt(StringGrid3->Cells[2][4])+ StrToInt(StringGrid3->Cells[2][5])+ StrToInt(StringGrid3->Cells[2][2]));

StringGrid3->Cells[4][2]="1752";

StringGrid3->Cells[4][4]="1752";

StringGrid3->Cells[4][5]="1752";

StringGrid3->Cells[5][2]=FloatToStr(StrToFloat(StringGrid3->Cells[4][2])*StrToFloat(StringGrid3->Cells[3][2])*StrToFloat(StringGrid3->Cells[2][2]));

StringGrid3->Cells[5][4]=IntToStr(StrToInt(StringGrid3->Cells[4][4])*StrToInt(StringGrid3->Cells[3][4])*StrToInt(StringGrid3->Cells[2][4]));

StringGrid3->Cells[5][5]=IntToStr(StrToInt(StringGrid3->Cells[4][5])*StrToInt(StringGrid3->Cells[3][5])*StrToInt(StringGrid3->Cells[2][5]));

StringGrid3->Cells[5][6]=IntToStr(StrToInt(StringGrid3->Cells[5][4])+ StrToInt(StringGrid3->Cells[5][5]));

StringGrid3->Cells[5][7]=IntToStr(StrToInt(StringGrid3->Cells[5][4])+ StrToInt(StringGrid3->Cells[5][5])+ StrToInt(StringGrid3->Cells[5][2]));

StringGrid3->Cells[6][2]=FloatToStrF((StrToFloat(StringGrid3->Cells[5][2])*0.35),ffFixed,6,2);

StringGrid3->Cells[6][4]=FloatToStrF((StrToFloat(StringGrid3->Cells[5][4])*0.25),ffFixed,6,2);

StringGrid3->Cells[6][5]=FloatToStrF((StrToFloat(StringGrid3->Cells[5][5])*0.25),ffFixed,6,2);

StringGrid3->Cells[6][6]=FloatToStr(StrToFloat(StringGrid3->Cells[6][4])+ StrToFloat(StringGrid3->Cells[6][5]));

StringGrid3->Cells[6][7]=FloatToStr(StrToFloat(StringGrid3->Cells[6][4])+ StrToFloat(StringGrid3->Cells[6][5])+ StrToFloat(StringGrid3->Cells[6][2]));

StringGrid3->Cells[7][2]=FloatToStrF(StrToFloat(StringGrid3->Cells[5][2])*0.15,ffFixed,6,2);

StringGrid3->Cells[7][4]=FloatToStrF(StrToFloat(StringGrid3->Cells[5][4])*0.15,ffFixed,6,2);

StringGrid3->Cells[7][5]=FloatToStrF(StrToFloat(StringGrid3->Cells[5][5])*0.15,ffFixed,6,2);

StringGrid3->Cells[7][6]=FloatToStr(StrToFloat(StringGrid3->Cells[7][4])+ StrToFloat(StringGrid3->Cells[7][5]));

StringGrid3->Cells[7][7]=FloatToStr(StrToFloat(StringGrid3->Cells[7][4])+ StrToFloat(StringGrid3->Cells[7][5])+ StrToFloat(StringGrid3->Cells[7][2]));

StringGrid3->Cells[8][2]=FloatToStrF(StrToFloat(StringGrid3->Cells[5][2])*0.03,ffFixed,6,2);

StringGrid3->Cells[8][4]=FloatToStrF(StrToFloat(StringGrid3->Cells[5][4])*0.03,ffFixed,6,2);

StringGrid3->Cells[8][5]=FloatToStrF(StrToFloat(StringGrid3->Cells[5][5])*0.03,ffFixed,6,2);

StringGrid3->Cells[8][6]=FloatToStr(StrToFloat(StringGrid3->Cells[8][4])+ StrToFloat(StringGrid3->Cells[8][5]));

StringGrid3->Cells[8][7]=FloatToStr(StrToFloat(StringGrid3->Cells[8][4])+ StrToFloat(StringGrid3->Cells[8][5])+ StrToFloat(StringGrid3->Cells[8][2]));

StringGrid3->Cells[9][2]=FloatToStrF(StrToFloat(StringGrid3->Cells[5][2])*0.05,ffFixed,6,2);

StringGrid3->Cells[9][7]=FloatToStrF(StrToFloat(StringGrid3->Cells[5][2])*0.05,ffFixed,6,2);

StringGrid3->Cells[10][2]=FloatToStr(StrToFloat(StringGrid3->Cells[5][2])+StrToFloat(StringGrid3->Cells[6][2])+StrToFloat(StringGrid3->Cells[7][2])+StrToFloat(StringGrid3->Cells[8][2])+StrToFloat(StringGrid3->Cells[9][2]));

StringGrid3->Cells[10][4]=FloatToStr(StrToFloat(StringGrid3->Cells[5][4])+StrToFloat(StringGrid3->Cells[6][4])+StrToFloat(StringGrid3->Cells[7][4])+StrToFloat(StringGrid

Похожие материалы

Информация о работе

Тип:
Курсовые работы
Размер файла:
542 Kb
Скачали:
0