• + 3 comments

    double a = 4.0; double b = 4.0; I formatted the result doing this: Console.WriteLine(string.Format("{0:0.0}", a + b));

    it works when I ran the code, but when I submitted the code it say me wrong answer.