0
about C# write in âwindow formâ
Hello guys I meet a question here. Write the C# code for the bellow condition : An array of raw scores for 10 students without user input In the array, the first student is No. 1, and so on. The topic will explain, for example: Student No. 3 spoke twice. Add 2 points for each speech, calculate the score after the score
1 Answer
0
Now I can only write like:
private void button1_Click(object sender, EventArgs e)
{
int Read;
int[] Value = new int[] { 10, 30, 50, 70, 90 };
for (int index = 0; index < 5; index++)
{
Read = Value[index];
}
int[] Score = new int[] { 10, 30, 50, 70, 90 };
String Result = "score1:" + Score[0].ToString() + " score2:" + Score[1].ToString();
MessageBox.Show(Result);
}
But the middle process is still incompleteâŠâŠâŠâŠ