Skip to content

Instantly share code, notes, and snippets.

@oktavianto
Created October 12, 2022 11:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save oktavianto/df3fdb7f4ffd040b1125a55974e5d7f9 to your computer and use it in GitHub Desktop.
Save oktavianto/df3fdb7f4ffd040b1125a55974e5d7f9 to your computer and use it in GitHub Desktop.
#include <iostream>
#include <string>
using namespace std;
struct Kategori_buku{
string Fiksi;
string Kuliner;
string Biologi;
string Filsafat;
string Komputer;
string Managemen;
};
struct Penerbit{
string Erlangga;
string tigasekawan;
string Gramedia;
string tigadunia;
};
struct Barang{
int id_buku;
string judul_buku;
int Jumlah_buku;
string pengarang_buku;
int No_ISBN;
Kategori_buku Kategori_buku;
Penerbit Penerbit;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment