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 _1._2
- {
- class Program
- {
- static void Main(string[] args)
- {
- int a =10; // a = 10
- int b = 15 + 25; // b = 40
- int c = a * b + 8; // c = 408
- int d = (5 + 5) / 2; // d = 5
- bool b_a = true; // b_a = true
- bool b_b = true != false; // b_b = true
- bool b_c = b_a == b_b; // b_c = true
- bool b_d = b_a != b_c; // b_d = false
- bool b_e = b_a && b_d; // b_e = false
- bool b_f = b_e || b_d; // b_f = false
- string s = "test" + " " + "test2"; // s = test test2
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement