Advertisement
dxoraxs

Untitled

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