0
help me solve a problem in C#, the practice is called a chess tournament
help me solve a problem in C#, the practice is called a chess tourn. You are creating a program for a chess tournament that needs to count the points a player has scored. In case of victory, the player receives 1 point, and in case of a draw - half a point (0.5). This program declares two variables: wins and ties. Task Create a program that will take wins and draws as input, then calculate and output the points scored by the player. Advice Multiply the ties value by 0.5 to calculate the points scored in case of a draw. You need to accept the values as input using the Console. ReadLine and convert them to integers.
3 odpowiedzi
+ 1
show your code. describe precisely what it is supposed to do.
+ 1
read my previous comment carefully: SHOW YOUR CODE.
without seeing your code attempt, we cannot help you ro fix it.
0
You are creating a program for a chess tournament that needs to count the points a player has scored.
In case of victory, the player receives 1 point, and
in case of a draw - half a point (0.5).
This program declares two
variables: wins and ties.
Task
Create a program that will take wins and draws as input, then calculate and output the points scored by the player.
Advice
Multiply the ties value by 0.5 to
calculate the points scored in case of a draw.
You need to accept the values as input using the Console. ReadLine and convert them to integers.