Posts by Fluss • 71 points
1 post
-
6
votes1
answer57
viewsQ: Why can a double var store an int type?
Why a var of the kind double can store a var of the kind int? Using C# int x; double y; x = 5; y = 2*x; Console.WriteLine(x); Console.WriteLine(y); Console.ReadLine();…