You are on page 1of 1

#include<iostream.

h>
#include<string.h>
#include<conio.h>
void main()
{
int ced,ed,tlfn;
char nom[20];
char ap[20];
char d[20];
gotoxy(8,2);
cout<<"DATOS"<<endl;
cout<<"ingrese cedula: ";cin>>ced;
cout<<"ingrese nombre: ";cin>>nom;
cout<<"ingrese apellido: ";cin>>ap;
cout<<"ingrese edad: ";cin>>ed;
cout<<"ingrese telefono: ";cin>>tlfn;
cout<<"ingrese direccion: ";cin>>d;
gotoxy(1,15);
cout<<"LOS DATOS SON:"<<endl;
cout<<"Nombre: ";
cout<<nom<<endl;
cout<<"Apellido: ";
cout<<ap<<endl;
cout<<"Edad: ";
cout<<ed<<endl;
cout<<"Direccion: ";
cout<<d<<endl;
cout<<"Telefono: ";
cout<<tlfn<<endl;
getch();
}

You might also like