800/600=1?
in
Programming Questions
•
2 months ago
float k=800/600;
print(k);
After I run this code I get 1.0 instead of 1.333333. Why?
print(k);
After I run this code I get 1.0 instead of 1.333333. Why?
1