Skip to content

Instantly share code, notes, and snippets.

@samueltcsantos
Created April 17, 2014 01:14
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save samueltcsantos/10946489 to your computer and use it in GitHub Desktop.
Save samueltcsantos/10946489 to your computer and use it in GitHub Desktop.
Atribuição de valores no visualg
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