Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <cstdlib>
- #include <cmath>
- int main()
- {
- int i;
- cout << "Podaj dowolną liczbę:" ;
- cin >> i;
- cout << "Wprowadzona liczba: " << i;
- cout << "Wartośc bezwględna libczy to" << abs(i) << ".\n";
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement