private:system::void按钮1\u单击(system::object^sender,system::eventargs^e)
float price = Convert::ToDouble(textBox2->Text);
float downpay = Convert::ToDouble(textBox3->Text);
float interestrate = Convert::ToDouble(textBox4->Text);
float yearofpay = Convert::ToDouble(comboBox1->Text);
double Total;
Total = ((price - downpay) + (interestrate / 100 * (price - downpay) * yearofpay)) / (yearofpay * 12);
label7->Text = Total.ToString("F2");
}
暂无答案!
目前还没有任何答案,快来回答吧!