Advertisement
Guest User

StrukturaKuce

a guest
Jan 22nd, 2018
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.40 KB | None | 0 0
  1. /*DzZadatak:Napravite strukturu kuce.
  2. a)Kuca ima u sebi ime kuce, neogranicen broj soba i broj stanara.
  3. b)Soba je isto struktura i ona ima povrsinu te ime.
  4. kroz sucelje unesi jednu kucu sa bilo kojim brojem soba.
  5. */
  6. #include <iostream>
  7. #include <string>
  8. #include <vector>
  9. using namespace std;
  10.  
  11. struct Kuca {
  12.     string imeKuce;
  13.     int brojSoba;
  14.  
  15. };
  16. int main() {
  17.  
  18.     system("PAUSE");
  19.     return 0;
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement