- 1

What would be the output?

What is the output of the following code? double x = 10.0; Console.WriteLine(x/2);

28th Jul 2022, 8:49 PM
Mark Luker
Mark Luker - avatar
3 odpowiedzi
+ 1
5
28th Jul 2022, 9:27 PM
Aly Alsayed
Aly Alsayed - avatar
0
Mark, Please put C# in your post tags for language context clarity 👍 https://code.sololearn.com/W3uiji9X28C1/?ref=app
29th Jul 2022, 2:29 AM
Ipang
- 1
Mark Luker Did you try in Code Playground? It is a basic math. 5.0 * 2 = 10.0 5.0 = 10.0 / 2
29th Jul 2022, 2:07 AM
A͢J
A͢J - avatar