You are making a program for a chess tournament that needs to calculate the points earned by a player. A win is worth 1 point, | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

You are making a program for a chess tournament that needs to calculate the points earned by a player. A win is worth 1 point,

I need help to write this C# program: You are making a program for a chess tournament that needs to calculate the points earned by a player. A win is worth 1 point, while a tie is worth 0.5 points. The given program declares two variables: wins and ties. Task Create a program to take the values for wins and ties as input, then calculate and output the points earned by the player. Hint Multiply the ties value by 0.5, to get the points earned for ties. You need to take the values as input by using the Console.ReadLine method, and convert them to integers.

26th Jan 2024, 9:37 PM
Rosa Vo
Rosa Vo - avatar
2 Answers
+ 5
Rosa Vo , > put your code in playground, *save* it there, create a *link* to this code and post this link here.
27th Jan 2024, 6:41 AM
Lothar
Lothar - avatar
+ 2
Did you try something to code?
26th Jan 2024, 11:40 PM
JaScript
JaScript - avatar