C++ Programming Ch.7 Exercise 3 Solution
Problem: 1๋ฒ ~ 4๋ฒ ๋ฌธ์ ๊น์ง ์ฌ์ฉ๋ Book ํด๋์ค๋ ๋ค์๊ณผ ๊ฐ์ต๋๋ค. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 class Book{ string title; int price, pages; public: Book(string title="", int price=0, int pages=0){ this->title = title; this->price = price; this->pages = pages; } void show() { cout << title << " " << price << "์ " << pages << " ํ์ด์ง" << endl; } string getTitle() { return title; } }; ๋ค์ ์ฐ์ฐ์ ํตํด ๊ณต์ง ์ฑ ์ธ์ง๋ฅผ ํ๋ณํ๋๋ก ! ์ฐ์ฐ์๋ฅผ ์์ฑํ๋ผ. ...