-
Notifications
You must be signed in to change notification settings - Fork 0
/
Pelicula.cpp
40 lines (30 loc) · 1004 Bytes
/
Pelicula.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
// Naomi Estefanía Nieto Vega A01706095
// Pelicula.cpp
// ProyectoIntegrador
// 21 de julio, 2020
#include <stdio.h>
#include <iostream>
#include "Pelicula.h"
using namespace std;
Pelicula::Pelicula():Video(){
}
Pelicula::Pelicula(string type, string name, string kind, string nominacion, int id, int punctuation, int year, int duration):Video(type, name, kind, id, punctuation, year, duration) {
nominaciones = nominacion;
}
string Pelicula::getNombre() {
return nombreVideo;
}
int Pelicula::getCalificacion() {
return calificacion;
}
void Pelicula::mostrarDatos() {
cout << "Type of video: " << tipoVideo << endl;
cout << "ID: " << Id << endl;
cout << "Title: " << nombreVideo << endl;
cout << "Genre: " << genero << endl;
cout << "Release year: " << anioLanzamiento << endl;
cout << "Nominated: " << nominaciones << endl;
cout << "Duration (minutes): " << duracion << endl;
cout << "Score: " << calificacion << endl;
cout << endl;
}