Git Product home page Git Product logo

141_2_constantin_ioana-teodora_7's Introduction

141_2_Constantin_Ioana-Teodora_7

Tema 7. Se dau clasele: -Locuință (string numeClient, int suprafataUtila, float discount) -Apartament (int etaj) : Locuinta -Casa (int suprafataCurte) : Locuinta La clasa Locuinta se va adauga metoda virtuala pura CalculChirie (X,Y) cu X =valoare standard chirie/mp(intreg), Y=1 daca se ia in considerare discountul si 0daca nu se ia in considerare. Metoda va fi adaugata in clasa Apartament dupa formula XsuprafataUtila(1-Ydiscount/100.0), respectiv in clasa Casa dupa formula X(suprafataUtila +0.2suprafataCurte) * (1-Ydiscount/100.0). Metodele vor fi testate prin parcurgerea unui vector de pointeri la Locuinta *,incarcat cu obiecte de tip Apartament si Casa.Se defineste clasa AgentieImobiliara continand un vector de pointeri la obiecte detip Locuinta alocat dinamic.
Se va supraincarca operatorul >> pentru a citilocuintele agentiei si operatorul << pentru afisarea lor.

141_2_constantin_ioana-teodora_7's People

Contributors

ioanatc avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.