Skip to content
menu
arrow_back
CJ
Coding With Joseph
search
light_mode
Light
desktop_windows
System
dark_mode
Dark
bolt
15
free / day
Sign in
Create account
←
Back to Code Walkthrough
Integer vs Floating Division
C# code walkthrough · Question 44
easy
Casting
Code
Read carefully. What does this print?
1
Console
.
WriteLine
(
5
/
2
)
;
2
Console
.
WriteLine
(
5.0
/
2
)
;
3
Console
.
WriteLine
(
5
/
2.0
)
;
Your answer
What will this code output?
Submit answer
←
Previous
Next
→
home
Home
grid_view
Problems
calendar_today
Daily
workspace_premium
Pricing
menu
Menu