{"id":1031,"date":"2025-10-04T15:58:11","date_gmt":"2025-10-04T15:58:11","guid":{"rendered":"https:\/\/javigomez.org\/?p=1031"},"modified":"2025-12-05T16:52:48","modified_gmt":"2025-12-05T16:52:48","slug":"e1-31-cuadrado-de-asteriscos","status":"publish","type":"post","link":"https:\/\/javigomez.org\/index.php\/2025\/10\/04\/e1-31-cuadrado-de-asteriscos\/","title":{"rendered":"E1.31 Cuadrado de asteriscos"},"content":{"rendered":"\n<p><strong>Actividad 1.3<\/strong><strong>1<\/strong>: Algoritmo que lea un n\u00famero entero (lado) y a partir de \u00e9l cree un cuadrado de asteriscos con ese tama\u00f1o. Los asteriscos s\u00f3lo se ver\u00e1n en el borde del cuadrado, no en el interior.<\/p>\n\n\n\n<p>Ejemplo, para lado = 4 escribir\u00eda:<\/p>\n\n\n\n<p>****<\/p>\n\n\n\n<p>*\u00a0  *<\/p>\n\n\n\n<p>*&nbsp; *<\/p>\n\n\n\n<p>****<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Algoritmo sin_titulo\n\t\/\/Actividad 1.31: Algoritmo que lea un n\u00famero entero (lado) \n\t\/\/y a partir de \u00e9l cree un cuadrado de asteriscos con ese tama\u00f1o. \n\t\/\/Los asteriscos s\u00f3lo se ver\u00e1n en el borde del cuadrado, no en el interior.\n\t\n\t\/\/Ejemplo, para lado = 4 escribir\u00eda:\n\t\/\/\t****\n\t\/\/\t*  * \n\t\/\/\t*  * \n\t\/\/\t****\n\t\n\tEscribir \"Dame la longitud\"\n\tleer n\n\t\n\tpara x=1 hasta n\n\t\tpara u=1 hasta n\n\t\t\tsi x=1 o x=n o u=1 o u=n\n\t\t\t\tEscribir \"*\" Sin Saltar\n\t\t\tSiNo\n\t\t\t\tEscribir \" \" Sin Saltar\n\t\t\tfinsi\n\t\tFinPara\n\t\tEscribir \"\"\n\tFinPara\n\n\nFinAlgoritmo\n<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-4-3 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"E0131 Cuadrado hueco de asteriscos\" width=\"1200\" height=\"900\" src=\"https:\/\/www.youtube.com\/embed\/fKy61ySPvEY?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Actividad 1.31: Algoritmo que lea un n\u00famero entero (lado) y a partir de \u00e9l cree un cuadrado de asteriscos con ese tama\u00f1o. Los asteriscos s\u00f3lo &hellip; <\/p>\n","protected":false},"author":1,"featured_media":1032,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[271,272],"class_list":["post-1031","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\/1031","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=1031"}],"version-history":[{"count":1,"href":"https:\/\/javigomez.org\/index.php\/wp-json\/wp\/v2\/posts\/1031\/revisions"}],"predecessor-version":[{"id":1033,"href":"https:\/\/javigomez.org\/index.php\/wp-json\/wp\/v2\/posts\/1031\/revisions\/1033"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/javigomez.org\/index.php\/wp-json\/wp\/v2\/media\/1032"}],"wp:attachment":[{"href":"https:\/\/javigomez.org\/index.php\/wp-json\/wp\/v2\/media?parent=1031"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/javigomez.org\/index.php\/wp-json\/wp\/v2\/categories?post=1031"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/javigomez.org\/index.php\/wp-json\/wp\/v2\/tags?post=1031"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}