Created
April 17, 2014 01:14
-
-
Save samueltcsantos/10946489 to your computer and use it in GitHub Desktop.
Atribuição de valores no visualg
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
algoritmo "atribuicao" | |
// Função : atribuir variaveis para variaveis declaradas | |
// Autor : samuel t. c. santos | |
// Data : 16/04/2014 | |
// Seção de Declarações | |
var | |
numero: inteiro | |
vetNotas: vetor[1..10] de real | |
matriz : vetor[0..4,0..10] de inteiro | |
sinalizador : logico | |
nome_do_aluno : caractere | |
inicio | |
// Seção de Comandos | |
numero <-10 | |
vetNotas[1] <- 7.9 | |
matriz [0][2] <- 4 | |
sinalizador <- VERDADEIRO | |
nome_do_aluno <- "Mariana Lima de Freitas" | |
fimalgoritmo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment