rendered paste body#include<iostream>#include<string>using namespace std;class libro{ string autor; string titulo; string descripcion; string editorial; bool estado; int codigo;public: libro() { autor = titulo = descripcion = editorial = ""; codigo = 0; estado = false; } void set_autor(string au) { autor=au; } void set_titulo(string tit) { titulo=tit; } void set_descripcion(string des) { descripcion=des; } void set_editorial(string edi) { editorial=edi; } void set_estado(bool es) { estado = es; } void set_codigo(int cod) { codigo=cod; } string get_autor() { return autor; } string get_titulo() { return titulo; } string get_descripcion() { return descripcion; } string get_editorial() { return editorial; } bool get_estado() { return estado; } int get_codigo() { return codigo; }};class Alumno { int codigo; string nombre; int semestre; int nlibprestado;public: Alumno() { codigo = semestre = nlibprestado = 0; nombre=""; } void set_codigo(int cod) { codigo=cod; } void set_nombre(string nom) { nombre=nom; } void set_semestre(int sem) { semestre=sem; } void set_nlibprestado(int nlib) { nlibprestado= nlib; } string get_nombre() { return nombre; } int get_codigo() { return codigo; } int get_semestre() { return semestre; } int get_nlibprestado() { return nlibprestado; }};class libroprestado { libro* lib; alumno* alu; string fechapre; string fechadev;public: libroprestado() { lib = alu = NULL; fechapre = fechadev = ""; } void setlibro(string lib) { libro=lib; } void set_fechapre(string pres) { fechapre=pres; } void set_fechadev(string dev) { fechadev=dev; } string getlibro() { return libro; } string get_fechapres() { return fechapres; } string get_fechadev() { return fechadev; }};int main(){ return 0;}