Skip to content

Vậy height(h) ở đây là chiều cao của object thì bây h ngoài kiểu là int thì các kiểu còn lại trả về như thế nào ? ???? #3

@m1nhn

Description

@m1nhn

- in ra màn hình : cout<<height(h);
- Tính toán : 2*height(n)+3;
- Biểu thức điều kiện : (height(h) < 0)?cout<<height(h):cout<<"Khong hop le !";
- Gán cho biến : int chieu_cao = height(h);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions