This file contains 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
<div id="meuApp"> | |
<label for="capital">Capital</label> | |
<input type="number" id="capital" placendolder="Capital"> | |
<label for="capital">Taxa de juros</label> | |
<input type="number" id="capital" placendolder="Taxa de juros"> | |
<label for="capital">Tempo de aplicação</label> | |
<input type="number" id="capital" placendolder="Tempo Aplicação"> |
This file contains 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
#include <stdio.h> //Include da biblioteca Standard Input Output | |
int main (void){ | |
} |
This file contains 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
#include <stdio.h> | |
int main (void){ | |
//Função para exibir dados no C | |
printf("Hello, World!"); | |
//Toda função precisa retornar alguma coisa, do contrário teremos um erro na hora de compilar. | |
return 0; | |
} |
This file contains 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
#include <stdio.h> | |
int main (void){ | |
char nome[20]; | |
printf("Ola! Insira seu nome, por fovor: \n"); | |
return 0; | |
} |
This file contains 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
#include <stdio.h> | |
int main (void) { | |
char nome[6]; | |
printf("Ola! Insira seu nome, por fovor: \n"); | |
scanf("%s", nome); | |
return 0; | |
} |
This file contains 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
#include <stdio.h> | |
int main (void) { | |
//Declaração da variável nome do tipo char (string, caractere) com limite de 20 caracteres | |
char nome[20]; | |
//Saudação ao usuário | |
printf("Ola! Insira seu nome, por fovor: \n"); | |
//Leitura do input do usuário |
This file contains 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
<!DOCTYPE html> | |
<html lang="pt-br" ng-app="helloWorld"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Hello, World! em AngularJS</title> | |
<!--Import do Angular em arquivo Offline | |
Pode ser substituido pelo link da Google CDN--> | |
<script src="assets/js/angular.min.js"></script> | |
</head> | |
<body> |
This file contains 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
angular.module('helloWorld', []); |
This file contains 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
angular.module('helloWorld', []); | |
angular.module('helloWorld').controller('helloWorldController', function($scope){ | |
$scope.showMessage = 'Hello, World!'; | |
}); |
This file contains 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
<body ng-controller="helloWorldController"> | |
<div> | |
{{showMessage}} | |
</div> | |
</body> |
OlderNewer