My problem is that this:" Zinsen = Zinsen / 100; "is not working! i dont know why but it woud be helpful if you can Help me :D After i run my Programm zinsen is "0".
Thanks
Kontostand = Convert.ToInt32(StrKontostand);
Laufzeit = Convert.ToInt32(StrLaufzeit);
Zinsen = Convert.ToInt32(Strzinsen);
Zinsen = Zinsen / 100;
while (Loops <= Laufzeit)
{
Loops = Loops + 1;
Kontostand = Kontostand + (Kontostand * Zinsen);
}
ErgebnisStr = Convert.ToString(Kontostand);
lblErgebnis.Text = ErgebnisStr;