Execute Program is a learning platform built by developers for developers, because we thought there should be a better way to learn – and remember – programming languages and tools.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"estados": [ | |
{ | |
"sigla": "AC", | |
"nome": "Acre", | |
"cidades": [ | |
"Acrelândia", | |
"Assis Brasil", | |
"Brasiléia", | |
"Bujari", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"nome": "Alessandra Luzia Nogueira", | |
"idade": 70, | |
"cpf": "827.565.258-80", | |
"rg": "18.847.105-4", | |
"data_nasc": "07/01/1952", | |
"sexo": "Feminino", | |
"signo": "Capricórnio", | |
"mae": "Rosângela Sophia", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
internal class Program | |
{ | |
private static void Main(string[] args) | |
{ | |
Console.Title = "PokeTrumps"; | |
Console.Clear(); | |
Console.WriteLine("---------------------------------------------------------------------------------------------------------------"); | |
Console.WriteLine("Hello my friend! Welcome to PokeTrumps!"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
internal class Program | |
{ | |
private static void Main(string[] args) | |
{ | |
//-------- CODE HERE | |
Console.Title = "The Point"; | |
Console.Clear(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// source: https://www.devmedia.com.br/validar-cpf-com-javascript/23916 | |
function TestaCPF(strCPF) { | |
var Soma; | |
var Resto; | |
Soma = 0; | |
if (strCPF == "00000000000") return false; | |
for (i=1; i<=9; i++) Soma = Soma + parseInt(strCPF.substring(i-1, i)) * (11 - i); | |
Resto = (Soma * 10) % 11; |
OlderNewer