Consulte Graatis
Find a Question:
Informática">
Sobre Lógica de Programação
Estou começando a aprender agora, e estou com dúvidas em exercícios do estilo que postarei logo abaixo, se alguém puder me ajudar, me dando um exemplo de como resolver ficarei grata.
Considere que você tenha o seguinte registro:
TSaldo = REGISTRO
nomeDoMes : LITERAL
saldo : REAL
FIMREGISTRO
Considere que você tenha um vetor (Meses), já preenchido com 12 literais, onde em cada posição exista o nome de um mês.
Considere também que você deverá fazer 100 leituras armazenando-as em um vetor, onde em cada leitura o usuário irá digitar um número entre 1 e 12 ( representando o número de um mês), e um valor (REAL). Após a digitação de todos as 100 leituras mostrar na tela o nome da cada um dos meses e o seu saldo atual. Para esta questão você deverá utilizar registros para armazenar TSaldo dentro de um vetor.
![](http://www.professoronline.net/wp-content/uploads/2012/02/professores_online.jpg)
Professores e Alunos
Ainda nao ha resposta para essa pergunta, enquanto isso pode-se tornar um usuario premium para atendimento especializado. Saiba mais em escritorios de advocacia online.Answer this Question
You must be Logged In to post an Answer.
Not a member yet? Sign Up Now »
Star Points Scale
Earn points for Asking and Answering Questions!
![Grey Sta Levelr](https://www.professoronline.net/wp-content/themes/instant-qa/images/grey-star-big.png)
![Grey Star Level](https://www.professoronline.net/wp-content/themes/instant-qa/images/grey-star-points-icon.png)
![Green Star Level](https://www.professoronline.net/wp-content/themes/instant-qa/images/green-star-big.png)
![Green Star Level](https://www.professoronline.net/wp-content/themes/instant-qa/images/green-star-points-icon.png)
![Blue Star Level](https://www.professoronline.net/wp-content/themes/instant-qa/images/blue-star-big.png)
![Blue Star Level](https://www.professoronline.net/wp-content/themes/instant-qa/images/blue-star-points-icon.png)
![Orange Star Level](https://www.professoronline.net/wp-content/themes/instant-qa/images/orange-star-big.png)
![Orange Star Level](https://www.professoronline.net/wp-content/themes/instant-qa/images/orange-star-points-icon.png)
![Red Star Level](https://www.professoronline.net/wp-content/themes/instant-qa/images/red-star-big.png)
![Red Star Level](https://www.professoronline.net/wp-content/themes/instant-qa/images/red-star-points-icon.png)
![Black Star Level](https://www.professoronline.net/wp-content/themes/instant-qa/images/black-star-big.png)
![Black Star Level](https://www.professoronline.net/wp-content/themes/instant-qa/images/black-star-points-icon.png)