Advertisement
Vadim_Rogulev

Untitled

Apr 10th, 2019
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.66 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 Переменные_2
  8. {
  9.     class Program
  10.     {
  11.         static void Main(string[] args)
  12.         {
  13.             int a = 10;//10
  14.             int b = 15 + 25;//40
  15.             int c = a * b + 8;//408
  16.             int d = (5 + 5) / 2;//5
  17.             bool b_a = true;//true
  18.             bool b_b = true && false;//false
  19.             bool b_c = false || true;//true
  20.             bool b_d = true != false;//true
  21.             bool b_e = b_a == b_c;//true
  22.             string s = "test1" + " " + "test2";//test1 test2
  23.         }
  24.     }
  25. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement