Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- /* operatory porównania
- > większe
- >= większe lub równe
- < mniejsze
- <= mniejsze lub równe
- == równe
- */
- int main()
- {
- int liczba;
- cout << "Wpisz liczbe calkowita: ";
- cin >> liczba;
- if(liczba == 100)
- cout << "Podana liczba ma wartosc 100\n";
- else
- cout << "Podana liczba ma wartosc inna niz 100\n";
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement