{"id":2419,"date":"2023-04-01T07:00:00","date_gmt":"2023-04-01T04:00:00","guid":{"rendered":"http:\/\/professor.norton.net.br\/?p=2419"},"modified":"2023-04-01T15:48:02","modified_gmt":"2023-04-01T12:48:02","slug":"alg-comando-de-escolha-switch","status":"publish","type":"post","link":"https:\/\/professor.norton.net.br\/index.php\/2023\/04\/01\/alg-comando-de-escolha-switch\/","title":{"rendered":"ALG &#8211; Comando de Escolha (Switch)"},"content":{"rendered":"<p><a href=\"https:\/\/professor.norton.net.br\/wp-content\/uploads\/2017\/09\/alg07_exemplo.zip\">exemplo<\/a><\/p>\n<p><iframe loading=\"lazy\" src=\"https:\/\/www.youtube.com\/embed\/Gn7z-GCe8Q0\" width=\"560\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<p><strong>Atividade<\/strong><\/p>\n<p>assunto: ALG07<\/p>\n<p>1) fa\u00e7a um algoritmo que simule o funcionamento de um caixa eletr\u00f4nico, onde ser\u00e1 apresentado uma lista de opera\u00e7\u00f5es:<\/p>\n<p>1-Saldo<br \/>\n2-Saque<br \/>\n3-Deposito<br \/>\nAo iniciar o programa determine um valor inicio para a vari\u00e1vel saldo, se o cliente escolher a op\u00e7\u00e3o 1 mostre o valor do saldo, caso escolha o valor 2 leia o valor a ser sacado e verifique se existe saldo suficiente, se o saldo for maior ou igual , deduza da vari\u00e1vel saldo o valor solicitado, caso n\u00e3o haja saldo suficiente mostre a mensagem \u201cSaldo Insuficiente\u201d, caso a op\u00e7\u00e3o 3 seja escolhida adicione o valor informado de deposito ao saldo.<\/p>\n<p><!--\n<a href=\"https:\/\/professor.norton.net.br\/wp-content\/uploads\/2015\/03\/alg04_correcao1.rar\">alg04_correcao<\/a>\n<a href=\"https:\/\/professor.norton.net.br\/wp-content\/uploads\/2015\/03\/algdesafio_correcao.rar\">algdesafio_correcao<\/a>\n--><\/p>\n","protected":false},"excerpt":{"rendered":"<p>exemplo Atividade assunto: ALG07 1) fa\u00e7a um algoritmo que simule o funcionamento de um caixa eletr\u00f4nico, onde ser\u00e1 apresentado uma lista de opera\u00e7\u00f5es: 1-Saldo 2-Saque 3-Deposito Ao iniciar o programa determine um valor inicio para a vari\u00e1vel saldo, se o cliente escolher a op\u00e7\u00e3o 1 mostre o valor do saldo, caso escolha o valor 2 <span class=\"readmore\"><a class=\"more-link\" href=\"https:\/\/professor.norton.net.br\/index.php\/2023\/04\/01\/alg-comando-de-escolha-switch\/\">Read More &#8230;<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[17],"tags":[],"class_list":["post-2419","post","type-post","status-publish","format-standard","hentry","category-algoritmos"],"_links":{"self":[{"href":"https:\/\/professor.norton.net.br\/index.php\/wp-json\/wp\/v2\/posts\/2419","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/professor.norton.net.br\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/professor.norton.net.br\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/professor.norton.net.br\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/professor.norton.net.br\/index.php\/wp-json\/wp\/v2\/comments?post=2419"}],"version-history":[{"count":1,"href":"https:\/\/professor.norton.net.br\/index.php\/wp-json\/wp\/v2\/posts\/2419\/revisions"}],"predecessor-version":[{"id":5233,"href":"https:\/\/professor.norton.net.br\/index.php\/wp-json\/wp\/v2\/posts\/2419\/revisions\/5233"}],"wp:attachment":[{"href":"https:\/\/professor.norton.net.br\/index.php\/wp-json\/wp\/v2\/media?parent=2419"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/professor.norton.net.br\/index.php\/wp-json\/wp\/v2\/categories?post=2419"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/professor.norton.net.br\/index.php\/wp-json\/wp\/v2\/tags?post=2419"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}