Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- struct series{
- string nombre;
- char tematica[15];
- int estreno;
- };
- struct fans{
- string nombre;
- string direccion;
- string sexo;
- int nacimiento;
- struct series seriesTV[10];
- }f[10000];
- int main(){
- do{
- cout<<"Cuantas serie sigue? "; cin>>n;
- }while( n <= 0 || n > 10);
- cin.ignore();
- while(cont != n){
- cout<<cont+1<<". Digite el nombre de la serie: "; cin>>f[i].seriesTV[cont].nombre;
- cin.ignore();
- cont++;
- }
- system("pause");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement