Se quiser, baixe esse app ¬ Visualg, copie o código, cole, teste, altere, treine, seja feliz! Sorria! Mesmo, se o mudo fizer careta (RS!).
Exercícios
algoritmo "Só com C"
var
  nome: Caractere
  
soC: vetor[1..10] de Caractere
c, tot: Inteiro
   
soC: vetor[1..10] de Caractere
c, tot: Inteiro
inicio
  tot <- 0
  
Para c <- 1 ate 10 faca
LimpaTela
EscrevaL("LISTAGEM FINAL")
Para c <- 1 ate tot faca
Para c <- 1 ate 10 faca
 
     Escreva("Digite seu nome: ")
     
Leia(nome)
  FimPara
  Leia(nome)
         Se (copia(maiusc(nome), 1, 1) = "C") entao
         
  
         tot <- tot + 1
         
soC[tot] <- nome
         FimSe
     soC[tot] <- nome
LimpaTela
EscrevaL("LISTAGEM FINAL")
Para c <- 1 ate tot faca
    EscrevaL(soC[c])
    
  FimPara
