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
| #include <stdio.h> | |
| #include <stdlib.h> | |
| int main () { | |
| /* declaracoes */ | |
| int num; /* variavel utilizada para leitura da sequencia */ | |
| int quad; | |
| /* programa */ | |
| printf("Digite uma sequencia terminada por zero\n"); |
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
| #include <stdio.h> | |
| #include <stdlib.h> | |
| void main() { | |
| float nota, soma = 0, media; | |
| int resp, contador = 0; | |
| do { | |
| printf("Digita a nota: "); | |
| scanf("%f", ¬a); |
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
| #include <stdio.h> | |
| #include <stdlib.h> | |
| int main () { | |
| float notas[10]; | |
| int indice; | |
| printf("Lendo as notas:\n"); | |
| for (indice = 0; indice < 10; indice++) | |
| { |
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
| #include <stdio.h> | |
| #include <stdlib.h> | |
| /* | |
| F=1,8C + 32 | |
| */ | |
| void main() { | |
| float soma=0; | |
| int valorInicial, valorFinal, contador; | |
| printf("Digite o valor da temperatura inicial: \n"); |
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
| #include <stdio.h> | |
| int main() { | |
| char str[] = "meu string"; /*reserva espaço para 11 caracteres*/ | |
| /* Vou alterar o caracter da sexta posição do vetor str[] */ | |
| str[5] = 'd'; | |
| printf("Ou seja troquei o t pelo d na frase: meu string -> %s ",str); | |
| return 0; | |
| } |
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
| #include <stdio.h> | |
| int main() { | |
| char str[10] ; /*reserva espao para 11 caracteres*/ | |
| int i; | |
| printf("\nDIGITE Um nome qualquer: "); | |
| gets(str); | |
| i = 0; |
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
| /usr/lib/postgresql/11/bin/pg_upgrade -U postgres --old-datadir "/opt/PostgreSQL/9.6/data" --new-datadir "/var/lib/postgresql/11/main" --old-bindir "/opt/PostgreSQL/9.6/bin" --new-bindir "/usr/lib/postgresql/11/bin" |
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
| /****************************************************************************** | |
| Online C Compiler. | |
| Code, Compile, Run and Debug C program online. | |
| Write your code in this editor and press "Run" button to compile and execute it. | |
| *******************************************************************************/ | |
| #include <stdio.h> |
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
| #include <stdio.h> | |
| int main() | |
| { | |
| printf("Hello World numero!!!"); | |
| return 0; | |
| } |
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
| <?php | |
| session_start(); | |
| $_SESSION["login"] = $login_banco; | |
| $_SESSION["nome"] = $nome_banco ; | |
| ?> |