Create a program to take the values for wins and ties as input, then calculate and output the points earned by the player. | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

Create a program to take the values for wins and ties as input, then calculate and output the points earned by the player.

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. level You need to take the values as input by using the Console.ReadLine method, and convert them to integers

3rd Aug 2023, 2:29 PM
Sai Nidhi K A
Sai Nidhi K A - avatar
2 Respostas
+ 5
For a help will be needed your attempts code linked from SL Playground with a concrete question.
3rd Aug 2023, 2:34 PM
JaScript
JaScript - avatar
+ 2
sai nidhika2000 ... As JaScript said.. Note that..Providing `readymade` code, this feature is not available here.First Try by yourself,after this if you face any problems in during learning or making code then ask here .
3rd Aug 2023, 2:48 PM
Darpan kesharwanišŸ‡®šŸ‡³[InactivešŸ“š]
Darpan kesharwanišŸ‡®šŸ‡³[InactivešŸ“š] - avatar