Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- int main() {
- int width, height;
- std::cout << "Enter rectangle width and height" << std::endl;
- std::cin >> width >> height;
- std::cout << "Rectangle area is " << width * height << std::endl;
- }
Advertisement
Add Comment
Please, Sign In to add comment