Questions tagged as 'visualg'

1
answer

How can I compare values in this calculator algorithm

The purpose of this algorithm is to be a small game of calculus, where it compares the result of the operation informed by the user with the correct value of the algorithm and thus to say whether or not the user has hit the result of the operati...
asked by 17.01.2017 / 04:53
1
answer

How to declare the final result as variable in a repeat structure in Visualg?

I'm using Visualg as a start to get an idea of programming logic. It turns out that I have created an algorithm with the repita structure along with the se structure that counts the number that the user has chosen up to where he wa...
asked by 17.11.2016 / 15:44
1
answer

Repetition structure within the selection in visualg

Function: Write a program that creates an initially zeroed vector and inserts a value into the vector at an informed position. For example, for the empty vector v = {}, position 4 and value 10, the program must generate v = {, 10}. If the positi...
asked by 29.10.2018 / 18:57
1
answer

How do I read to read these numbers and sum all without having to add variable by variable type sum it 60 times

Algoritmo "questionario" Var Resposta: Caractere Var soma,Nota: Inteiro Inicio Escreval("Questionario ENEM 2018 ") Escreval("1) Qual a capital do Brasil?") Escreval("----------------------------") Escreval("a) Brasilia") Escreval("b) Acre") E...
asked by 01.11.2018 / 20:09
1
answer

Beginner's doubts [closed]

I'm starting to program logic ... best to learn in VisualG or Portugol studio? I have both, but I found it difficult to declare the semantic in portugol studio, because I studied a lot with visualG, and in the same do not have the same character...
asked by 23.03.2018 / 20:01
1
answer

Complicated program [closed]

I'm already trying to make a program that does the following: Ask a user to type a number of numbers and then to enter the number of numbers that he wants to have in the combination and then the program prints the combinations and the quantities...
asked by 15.05.2016 / 19:49
1
answer

Matrix 5x5 with Portuguese - Learning to program [closed]

I'm a student and I'm starting to learn about programming, I have an exercise that I could not solve myself and I would like to know if anyone here could help me with the solution and / or an explanation so I can understand this and try to solve...
asked by 25.02.2016 / 00:42