{"id":1361,"date":"2024-09-11T23:00:30","date_gmt":"2024-09-12T02:00:30","guid":{"rendered":"https:\/\/desvendandoocodigo.com.br\/?p=1361"},"modified":"2024-09-11T23:01:19","modified_gmt":"2024-09-12T02:01:19","slug":"resumo-da-live-tiktok-11-09-2024","status":"publish","type":"post","link":"https:\/\/desvendandoocodigo.com.br\/?p=1361","title":{"rendered":"Resumo da Live TikTok 11\/09\/2024"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Ol\u00e1 Pessoal! <\/h2>\n\n\n\n<h2 class=\"wp-block-heading\">Na Live do dias 11\/09\/2024 abordamos os seguintes temas:<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>SCRIPT\nconst prompt = require('prompt-sync')();\n\nconst num1 = Number(prompt(\" Digite o 1\u00aa N\u00famero \"));\nconst num2 = Number(prompt(\" Digite o 2\u00aa N\u00famero \"));\n\nconst somar = num1 + num2;\n\nconsole.log(` A soma \u00e9:  ${somar}`);\n\nSCRIPT2\nconst prompt = require('prompt-sync')();\n\nfunction mostrarMensagem(){\n\n    console.log(\"******MENU TIPO DE USU\u00c1RIO**\");\n    console.log('admin');\n    console.log('gerente');\n    console.log('encarregado');    \n    console.log(\"****************************\");\n\n    var tipoUsuario = \n    prompt(\"Digite o usu\u00e1rio: \").toLowerCase();\n\n    var mensagem;\n\n    switch(tipoUsuario){\n\n        case 'admin':\n            mensagem = 'Feliz Natal, chefe!';\n            break;\n\n        case 'gerente':\n            mensagem = 'Boas Festas!'\n            break;\n\n        case 'encarregado':\n            mensagem = 'At\u00e9 logo!';\n            break;\n\n        default:\n            mensagem = 'Op\u00e7\u00e3o inv\u00e1lida!';\n            \n            break;\n    }\n\n    console.log(mensagem + '\\n');\n}\n\n\n\nmodule.exports = mostrarMensagem;\n\nSCRIPT3\n\n\nconst mostrarMensagem = require('.\/script2');\n\nmostrarMensagem();\n\nTABUADA\nconst prompt = require ('prompt-sync')();\n\nvar numero = 10;\n\n\n\/\/const numero = Number(prompt(\"Digite a tabuada\"));\n\nconsole.log(` Tabuada do ${numero}`);\n\nfor(var i = 1; i &lt;= 5; i ++ ){\n    console.log(` ${numero} x ${i} = ${numero * i}` );\n}\n\nconsole.log('\\n Fim da Tabuada! \\n');\n<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1000\" height=\"321\" src=\"https:\/\/desvendandoocodigo.com.br\/wp-content\/uploads\/2024\/01\/hotmart.png\" alt=\"\" class=\"wp-image-162\" style=\"width:134px;height:auto\" srcset=\"https:\/\/desvendandoocodigo.com.br\/wp-content\/uploads\/2024\/01\/hotmart.png 1000w, https:\/\/desvendandoocodigo.com.br\/wp-content\/uploads\/2024\/01\/hotmart-300x96.png 300w, https:\/\/desvendandoocodigo.com.br\/wp-content\/uploads\/2024\/01\/hotmart-768x247.png 768w\" sizes=\"(max-width: 1000px) 100vw, 1000px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p><a href=\"https:\/\/go.hotmart.com\/V89811082M?dp=1\">https:\/\/go.hotmart.com\/V89811082M?dp=1<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/go.hotmart.com\/X90111663X?dp=1\">https:\/\/go.hotmart.com\/X90111663X?dp=1<\/a><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p><strong>HOR\u00c1RIO DAS LIVES<\/strong><\/p>\n\n\n\n<p>Domingo &#8211; Segunda e Quarta \u00e0s 19:00hs<\/p>\n\n\n\n<p>Quinta &#8211; Sexta e S\u00e1bado \u00e0s 10:00hs<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"558\" height=\"1024\" src=\"https:\/\/desvendandoocodigo.com.br\/wp-content\/uploads\/2024\/07\/image-4.png\" alt=\"\" class=\"wp-image-1144\" style=\"width:242px;height:auto\" srcset=\"https:\/\/desvendandoocodigo.com.br\/wp-content\/uploads\/2024\/07\/image-4.png 558w, https:\/\/desvendandoocodigo.com.br\/wp-content\/uploads\/2024\/07\/image-4-163x300.png 163w\" sizes=\"(max-width: 558px) 100vw, 558px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Ol\u00e1 Pessoal! Na Live do dias 11\/09\/2024 abordamos os seguintes temas: https:\/\/go.hotmart.com\/V89811082M?dp=1 https:\/\/go.hotmart.com\/X90111663X?dp=1 HOR\u00c1RIO DAS LIVES Domingo &#8211; Segunda e Quarta \u00e0s 19:00hs Quinta &#8211; Sexta e S\u00e1bado \u00e0s 10:00hs<\/p>\n","protected":false},"author":1,"featured_media":1097,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[18],"tags":[],"_links":{"self":[{"href":"https:\/\/desvendandoocodigo.com.br\/index.php?rest_route=\/wp\/v2\/posts\/1361"}],"collection":[{"href":"https:\/\/desvendandoocodigo.com.br\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/desvendandoocodigo.com.br\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/desvendandoocodigo.com.br\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/desvendandoocodigo.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1361"}],"version-history":[{"count":4,"href":"https:\/\/desvendandoocodigo.com.br\/index.php?rest_route=\/wp\/v2\/posts\/1361\/revisions"}],"predecessor-version":[{"id":1365,"href":"https:\/\/desvendandoocodigo.com.br\/index.php?rest_route=\/wp\/v2\/posts\/1361\/revisions\/1365"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/desvendandoocodigo.com.br\/index.php?rest_route=\/wp\/v2\/media\/1097"}],"wp:attachment":[{"href":"https:\/\/desvendandoocodigo.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1361"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/desvendandoocodigo.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1361"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/desvendandoocodigo.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1361"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}