fork download
  1. using System;
  2.  
  3. public class Test
  4. {
  5. public static void Main()
  6. {
  7. int a = 1;
  8. int b = 2;
  9. float c = (float) a / (float) b;
  10. Console.WriteLine(c);
  11. }
  12. }
Success #stdin #stdout 0.03s 24112KB
stdin
Standard input is empty
stdout
0.5