agenda2.0.txt

Please download to get full document.

View again

All materials on our website are shared by users. If you have any questions about copyright issues, please report us to resolve them. We are always happy to assist you.
 16
 
  #include #include #include #include #include #include struct agenda { char nom[15]; char t[15]; char email[40]; } control[100]; int cont=0; void agregar(); void buscar(); void contactos(); main(){ system( color E1 ); //cambiar el colorsito papu int opc; do{ system( cls ); printf( MENU\n ); printf( 1.Agregar\n ); printf( 2.Buscar\n ); printf( 3
Share
Transcript
  #include<stdio.h>#include<stdlib.h>#include<string.h>#include<conio.h>#include<iostream>#include<cstdlib>struct agenda {char nom[15];char t[15];char email[40];} control[100];int cont=0; oid agregar! ;oid buscar! ;oid contactos! ; main! {sstem!$color %1$ ; &&cambiar el colorsito 'a'uint o'c;do{sstem!$cls$ ;'rint(!$)%*+,n$ ;'rint(!$1.-gregar,n$ ;'rint(!$./uscar,n$ ;'rint(!$.er todos los contactos,n$ ;'rint(!$4.2alir,n$ ; scan(!$3d$ o'c ; s6itch!o'c {case 17agregar! ;sstem!$'ause$ ;brea8; case 7buscar! ;sstem!$'ause$ ;brea8; case 7contactos! ;sstem!$'ause$ ;brea8;}}6hile!o'c9=4 ; return 0;} oid agregar! {sstem!$cls$ ; ((lush!stdin ;'rint(!$,n3d.*ombre de contacto7$ !cont:1 ;gets!control[cont].nom ; ((lush!stdin ;  'rint(!$,nele(ono7$ ;gets!control[cont].t ; ((lush!stdin ;'rint(!$,n%mail7$ ;gets!control[cont].email ; cont::; } oid buscar! {char busca[15];int i; sstem!$cls$ ; ((lush!stdin ;'rint(!$,n/uscar contacto,nngrese el nombre del contacto7$ ;gets!busca ; (or!i=0;i<cont;i:: {i(!strcm'i!buscacontrol[i].nom ==0 {'rint(!$,n*ombre7 3s,n$ control[i].nom ;'rint(!$ele(ono7 3s,n$ control[i].t ;'rint(!$%mail7 3s,n$ control[i].email ;}} } oid contactos! {int au i ?;char auc[50]; sstem!$cls$ ; (or!i=0;i<cont1;i:: {(or!?=0;?<cont1i;?:: {i(!strcm'!control[?].nomcontrol[?:1].nom >0 { strc'!auccontrol[?].nom ;strc'!control[?].nomcontrol[?:1].nom ;strc'!control[?:1].nomauc ; strc'!auccontrol[?].t ;strc'!control[?].tcontrol[?:1].t ;strc'!control[?:1].tauc ; strc'!auccontrol[?].email ;strc'!control[?].emailcontrol[?:1].email ;strc'!control[?:1].emailauc ; }}} 'rint(!$,n-genda.,n$ ;   (or!i=0;i<cont;i:: {@A% Barchi; i( !!archi=(o'en !$-C%*D-.tt$$6:$ 9= *+AA  {('rint(!archi$,n3d.*ombre7 3s,n$!i:1  control[i].nom ;('rint(!archi$ele(ono7 3s,n$ control[i].t ;('rint(!archi$%mail7 3s,n$ control[i].email ;}'rint(!$,n3d.*ombre7 3s,n$!i:1  control[i].nom ;'rint(!$ele(ono7 3s,n$ control[i].t ;'rint(!$%mail7 3s,n$ control[i].email ;} }
Related Search
We Need Your Support
Thank you for visiting our website and your interest in our free products and services. We are nonprofit website to share and download documents. To the running of this website, we need your help to support us.

Thanks to everyone for your continued support.

No, Thanks
SAVE OUR EARTH

We need your sign to support Project to invent "SMART AND CONTROLLABLE REFLECTIVE BALLOONS" to cover the Sun and Save Our Earth.

More details...

Sign Now!

We are very appreciated for your Prompt Action!

x