- 1
What would be the output?
What is the output of the following code? double x = 10.0; Console.WriteLine(x/2);
3 Respostas
+ 1
5
0
Mark,
Please put C# in your post tags for language context clarity 👍
https://code.sololearn.com/W3uiji9X28C1/?ref=app
- 1
Mark Luker
Did you try in Code Playground? It is a basic math.
5.0 * 2 = 10.0
5.0 = 10.0 / 2