I created one page Evaluation application with C #
The final score code is
I need to change the (lastScoreT10 = 6) to text (lastScoreT10 = Enter Evaluation)
How can I do that.
The final score code is
Code:
decimal finalres = res1T10 + res2T10 + res3T10 + res4T10 ;
int FinalToRemove = PtoRemove1T10 + PtoRemove2T10 + PtoRemove3T10 + PtoRemove4T10 ;
if (finalres >= 1 && finalres <= 20)
{
lastScoreT10 = 5;
}
if (finalres >= 21 && finalres <= 40)
{
lastScoreT10 = 4;
}
if (finalres >= 41 && finalres <= 60)
{
lastScoreT10 = 3;
}
if (finalres >= 61 && finalres <= 80)
{
lastScoreT10 = 2;
}
if (finalres >= 81 && finalres <= 100)
{
lastScoreT10 = 1;
}
if (finalres == 0)
{
lastScoreT10 = 6;
How can I do that.
Comment