Advertisement
Guest User

Untitled

a guest
Apr 30th, 2017
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. void Author::showInfo(){
  2. cout<<" Author "<<surname<<", live in "<<country;
  3. if(getCount(books) == 0){
  4. cout<<", and until not has books.."<<endl;
  5. return;
  6. }
  7. if(getCount(books) == 1)
  8. cout<<", and has a book: "<<endl;
  9. else{
  10. cout<<", and has books: "<<endl;
  11. }
  12. showAll(books);
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement