Reactions
2
0
0
0
20-11-22 13:01
Para el problema 1 Debes crear una array 2D con 40 lineas para cada persona y 2 columnas para la edad y el peso. Luego con un loop vas leyendo el input del usuario que puede ser 2 integers separados por una coma. Para imprimir los datos necesitas 2 loops encadenados para recorrer todas las filas y calcular los promedios de peso para cada categoria. El punto 2 es parecido, solo que en este caso debe ser un array dinamico, aqui tienes que trabajar con punteros y pedir al usuario que determine el tamano de la tabla. Luego el procediiento para imprimir es el mismo con 2 loops. Espero haberte aclarado un poco Salu2
Access hereTo be able to comment
TheWhiteCode.com is not the creator or owner of the images shown, references are:
- https://media.giphy.com/media/121UEAHgmhaXLO/giphy.gif
- https://media.giphy.com/media/NPCAn8n9ZUFb2/giphy.gif
- https://media.giphy.com/media/BkHxZlHPOKTDy/giphy.gif
- https://media.giphy.com/media/jHkt1aX2PuRuE/giphy.gif
- https://media.giphy.com/media/BPNtRqSdiWVRm/giphy.gif
- https://i.graphicmama.com/blog/wp-content/uploads/2016/12/06091814/handshake2.gif
- https://media.giphy.com/media/26BGJOJ1Ojou7vJte/giphy.gif
- https://www.no-refresh.com/blog/wp-content/uploads/2013/03/Cartoon-T-Shirt.jpg
- https://media.giphy.com/media/zy9Jgvuoi6vPW/giphy.gif
- http://www.cs.cmu.edu/~cangiuli/img/reginald.gif
- https://media.giphy.com/media/nlWGe7Q64zwQ0/giphy.gif
- https://media.giphy.com/media/a17WLyvcZqqhW/giphy.gif
- https://media.giphy.com/media/6wA4gmzannAC4/giphy.gif
- https://cdn.dribbble.com/users/662638/screenshots/3728722/2_diver_loop4.gif
- http://churchm.ag/wp-content/uploads/2011/02/if-programming-languages-were-essays1-620x1596.jpg
- https://media.giphy.com/media/3ohs7MbSujYYvdHxwA/giphy.gif
- https://media.giphy.com/media/JAFAFJKzFu7ni/giphy.gif
- https://media.giphy.com/media/9rtpurjbqiqZXbBBet/giphy.gif
- https://media.giphy.com/media/dfyFEheiTl11S/giphy.gif
- https://media.giphy.com/media/wgusacz7wuUOk/giphy.gif
- https://media.giphy.com/media/eRVz79LVGrROE/giphy.gif
- https://media.giphy.com/media/JAFAFJKzFu7ni/giphy.gif
- https://media.giphy.com/media/NPCAn8n9ZUFb2/giphy.gif
- https://media.giphy.com/media/bXlcI2xSomFBm/giphy.gif
- https://media.giphy.com/media/YmZKSmbjZDBD2/giphy.gif
- https://media0.giphy.com/media/ckBu502X4Cc8XvxBAC/source.gif
- https://media.giphy.com/media/121UEAHgmhaXLO/giphy.gif
- https://i.pinimg.com/originals/67/d5/6e/67d56ebc2b60597a818b3e720d165a33.gif
- https://media.giphy.com/media/NJvrotwdtjpza/giphy-facebook_s.jpg
- https://media.giphy.com/media/YmZKSmbjZDBD2/giphy.gif
- https://media.giphy.com/media/eRVz79LVGrROE/giphy.gif
- https://media.giphy.com/media/1DjNPF32WzbGw/giphy.gif
- https://media.giphy.com/media/VuHn7Q4mjKfw4/giphy-facebook_s.jpg
- https://media.giphy.com/media/Slj0Sqhbl4zmg/giphy.gif
- http://www.20cents-video.com/userdata/animated-gif/library/animatedgifwallpaperwindows7.gif
- https://media0.giphy.com/media/3o7bueKuHpxliuOl3y/200_s.gif
- https://media.giphy.com/media/B8345noHoy39S/giphy.gif
- https://media.giphy.com/media/12sIOcNCNrQlEc/giphy.gif
- http://www.cs.cmu.edu/~cangiuli/img/reginald.gif
- https://media.giphy.com/media/p4NLw3I4U0idi/giphy.gif
- https://i.pinimg.com/originals/67/d5/6e/67d56ebc2b60597a818b3e720d165a33.gif
- https://media.giphy.com/media/B8345noHoy39S/giphy.gif
- http://clipart-library.com/img1/1232170.jpg
- https://media1.giphy.com/media/UTw9wnoyP8Pcs/source.gif
- https://media.giphy.com/media/d5eGinywBLN5pKCvrE/giphy.gif
- https://media.giphy.com/media/3ohs7MbSujYYvdHxwA/giphy.gif
- https://media.giphy.com/media/26FPC5oAdfeFPkQQE/giphy.gif
- https://media.giphy.com/media/BPNtRqSdiWVRm/giphy.gif
- https://www.no-refresh.com/blog/wp-content/uploads/2013/03/Cartoon-T-Shirt.jpg
- https://media.giphy.com/media/aRPbPKqV18kHm/giphy.gif
- https://media.giphy.com/media/NPCAn8n9ZUFb2/giphy.gif
- https://cdn-images-1.medium.com/max/1600/1*3tbnS4Cb-1Bz1Nt866uGuA.gif
- https://media.giphy.com/media/p4NLw3I4U0idi/giphy.gif
- https://i.pinimg.com/originals/c3/15/6c/c3156ce2ea76d19bd4be5dcf1a50a4cc.gif
- https://media.giphy.com/media/Vu5MjYdstniIU/giphy.gif
- https://media.giphy.com/media/JAFAFJKzFu7ni/giphy.gif
- https://cdn-images-1.medium.com/max/1600/1*3tbnS4Cb-1Bz1Nt866uGuA.gif
- https://media.giphy.com/media/BkHxZlHPOKTDy/giphy.gif