Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace CSLight12_День1
- {
- class Program
- {
- static void Main(string[] args)
- {
- // переменные // значения
- int a = 10; // 10
- int b = 15 + 25; // 40
- int c = a * b + 8; // 10 * 40 + 8 = 400 + 8 = 408
- int d = (5 + 5) / 2; // (5 + 5) / 2 = 10 / 2 = 5
- bool b_a = true; // true
- bool b_b = true != false; // истина это не ложь, значит true
- bool b_c = b_a == b_b; // истина это истина, значит true
- bool b_d = b_a != b_c; // истина э то истина, значит false
- string s = "test" + " " + "test2"; // test test2
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement