Advertisement
loleckek228

1.3

Aug 10th, 2019
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.46 KB | None | 0 0
  1. using System;
  2.  
  3. namespace _1._3
  4. {
  5.     class Program
  6.     {
  7.         static void Main(string[] args)
  8.         {
  9.             int a = 10;
  10.             int b = 15 + 25; // 40
  11.             int c = a * b + 8; // 408
  12.             int d = (5 + 5) / 2; // 5
  13.             bool b_a = true;
  14.             bool b_b = true && false; // false
  15.             bool b_c = false || true; // true
  16.             bool b_d = true != false; // true
  17.             bool b_e = b_a == b_c; // // true
  18.             string s = "test" + " " + "test2"; // test test2
  19.            
  20.         }
  21.     }
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement