CJCoding With Joseph
15free / daySign inCreate account
Back to Code Walkthrough

Integer vs Floating Division

C# code walkthrough · Question 44
easyCasting

Code

Read carefully. What does this print?
1Console.WriteLine(5 / 2);
2Console.WriteLine(5.0 / 2);
3Console.WriteLine(5 / 2.0);

Your answer