{"id":1022,"date":"2025-10-04T14:53:22","date_gmt":"2025-10-04T14:53:22","guid":{"rendered":"https:\/\/javigomez.org\/?p=1022"},"modified":"2025-12-05T16:52:34","modified_gmt":"2025-12-05T16:52:34","slug":"e1-27-algoritmo-que-lea-numeros-enteros-hasta-teclear-0-y-nos-muestre-el-maximo-el-minimo-y-la-media-de-todos-ellos","status":"publish","type":"post","link":"https:\/\/javigomez.org\/index.php\/2025\/10\/04\/e1-27-algoritmo-que-lea-numeros-enteros-hasta-teclear-0-y-nos-muestre-el-maximo-el-minimo-y-la-media-de-todos-ellos\/","title":{"rendered":"E1.27 Algoritmo que lea n\u00fameros enteros hasta teclear 0, y nos muestre el m\u00e1ximo, el m\u00ednimo y la media de todos ellos."},"content":{"rendered":"\n<p>Algoritmo que lea n\u00fameros enteros hasta teclear 0, y nos muestre el m\u00e1ximo, el m\u00ednimo y la media de todos ellos.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Algoritmo sin_titulo\n\t\/\/Actividad 1.27: Algoritmo que lea n\u00fameros enteros hasta teclear 0, \n\t\/\/y nos muestre el m\u00e1ximo, el m\u00ednimo y la media de todos ellos\n\tEscribir \"Dame un n\u00famero: \"\n\tleer n\n\t\n\t\n\tmax=n\n\tmin=n\n\tsuma=0\n\tcont=0\n\t\n\tmientras n&lt;>0\n\t\tcont=cont+1\n\t\tsuma=suma+n\n\t\tsi num>max\n\t\t\tmax=n\n\t\tFinSi\n\t\tsi num&lt;min\n\t\t\tmin=n\n\t\tFinSi\n\t\tEscribir \"Dame un n\u00famero: \"\n\t\tleer n\n\tFinMientras\n\t\n\tsi cont&lt;>0\n\t\tEscribir \"El m\u00e1ximo es: \" max \" El m\u00ednimo es: \" min \" La media es: \" suma\/cont\n\tSiNo\n\t\tEscribir \"No has introducido ning\u00fan dato\"\n\tFinSi\n\t\n\t\nFinAlgoritmo\n<\/code><\/pre>\n\n\n","protected":false},"excerpt":{"rendered":"<p>Algoritmo que lea n\u00fameros enteros hasta teclear 0, y nos muestre el m\u00e1ximo, el m\u00ednimo y la media de todos ellos.<\/p>\n","protected":false},"author":1,"featured_media":1023,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[271,272],"class_list":["post-1022","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-pseint-pseudocodigo","tag-pseint","tag-pseudocodigo"],"_links":{"self":[{"href":"https:\/\/javigomez.org\/index.php\/wp-json\/wp\/v2\/posts\/1022","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/javigomez.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/javigomez.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/javigomez.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/javigomez.org\/index.php\/wp-json\/wp\/v2\/comments?post=1022"}],"version-history":[{"count":1,"href":"https:\/\/javigomez.org\/index.php\/wp-json\/wp\/v2\/posts\/1022\/revisions"}],"predecessor-version":[{"id":1024,"href":"https:\/\/javigomez.org\/index.php\/wp-json\/wp\/v2\/posts\/1022\/revisions\/1024"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/javigomez.org\/index.php\/wp-json\/wp\/v2\/media\/1023"}],"wp:attachment":[{"href":"https:\/\/javigomez.org\/index.php\/wp-json\/wp\/v2\/media?parent=1022"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/javigomez.org\/index.php\/wp-json\/wp\/v2\/categories?post=1022"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/javigomez.org\/index.php\/wp-json\/wp\/v2\/tags?post=1022"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}