Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main() {
- float a, b;
- cin >> a >> b;
- float perimetar = 2 * a + 2 * b;
- float plostina = a * b;
- cout << "Perimetar e " << perimetar << ", a plostinata e " << plostina << endl;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement