Advertisement
RamGaal

HomeWork 1 ex.2

May 13th, 2019
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.45 KB | None | 0 0
  1. int a = 10;                           //10
  2. int b = 15+25;                        //40
  3. int c = a*b +8;                       //408
  4. int d = (5+5)/2;                      //5
  5. bool b_a = true;                      //true
  6. bool b_b = true && false;             //false
  7. bool b_c = false || true;             //true
  8. bool b_d = true != false;             //true
  9. bool b_e = b_a == b_c;                //true
  10. string s = "test" + " " + "test2";    //test test2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement