#include <iostream>

using namespace std;

class Cliente {
public:
    void getMedidasPC();
    void setLargPC(int x);
    int getLargPC();
    void setAltPC(int y);
    int getAltPC();

private:
    int largPC;
    int altPC;
};

void Cliente::getMedidasPC() {
    cout << largPC << "mm x" << altPC << "mm" << endl;
    cout << largPC;
    cout << altPC;
}
void Cliente::setLargPC(int x) {
    largPC = x;
}

int Cliente::getLargPC() {
    return largPC;
}

void Cliente::setAltPC(int y) {
    altPC = y;
}

int Cliente::getAltPC() {
    return altPC;
}



int main(void) {
    Cliente clienteObj;

    int xPC;
    int yPC;


    cout << "\n Largura:" << endl;
    cin >> xPC;
    clienteObj.setLargPC(xPC);
    cout << "\n Altura:" << endl;
    cin >> yPC;
    clienteObj.setAltPC(yPC);

    clienteObj.getLargPC(); //FUNCAO NAO ESTA A FUNCIONAR(não imprime nada)
    clienteObj.getAltPC(); // ""     ""   ""  "" ""

    cout << xPC << "e" << yPC << endl; //aqui é impresso '400e700'

    clienteObj.getMedidasPC();//aqui é impresso -858993460mm x-858993460mm
    return 0;
}
