operators

  1. spartan.monkey

    operators precedence

    Hi my question is that i have this piece of code for predicting the ouput staticvoidMain(string[] args) { int a, b, c, x; a =80; b =15; c =2; x = a - b /(3* c)*( a + c); Console.WriteLine(x); Console.ReadLine(); }the possible answers to this program are a) 78 b) -84 c) 80 d) 98 in c# when we...
Back
Top Bottom