using System; public class Test { public static void Main() { int a = 1; int b = 2; float c = (float) a / (float) b; Console.WriteLine(c); } }