Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main()
- {
- int a = 10;
- int b = 15;
- if(a < b) // jeżeli warunek jest spełniony, zostaną wywołane wszystkie operacje z bloku
- {
- cout << "a jest mniejsze od b" << endl;
- a = b;
- cout << "od teraz a jest rowne b" << endl;
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement