Posts by Arthur • 131 points
8 posts
-
3
votes2
answers612
viewsQ: What is the difference between the 2 parameter passages?
There is the passage of parameter by value and by reference. I wanted examples to better understand the difference.
-
1
votes1
answer1532
viewsQ: How to make a variable to store each number that a counter divides by a given number?
Let’s assume the number is 12. How to show the numbers 1, 3, 6, 12 in front? I put a note in front of the line of code I’m talking about. algoritmo "Nums primos" var N,C,TotNums : inteiro inicio C…
-
0
votes1
answer3114
viewsQ: How do one character variable receive another in a conditional structure in Visualg?
I’m making an algorithm to show the highest grade and on this highest grade, At first it seems all ok, but it’s not working. Where is the error? algoritmo "melhor aluno" var…
-
2
votes1
answer4995
views -
0
votes1
answer246
viewsQ: 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. I happen to have created an algorithm with the structure repita along with the structure se which account of the number the user has…
-
0
votes2
answers3663
viewsA: How to put different texts for "yes" and "no" in Visualg?
Following the commands that member Vitor provided me was like this and it worked.algoritmo "valores" var N1,S,S2,S3,Idade : inteiro Soma_tudo,Data_nascimento : inteiro Soma_tudo2,Idade2 : inteiro X:…
-
3
votes2
answers3663
viewsQ: How to put different texts for "yes" and "no" in Visualg?
I started recently with programming, and I’m making an algorithm that guesses the user’s age, and I’m using Visualg to practice programming logic. How to put commands sim or não in the Visualg, and…
-
0
votes2
answers169
viewsQ: How to make the variable appear on the screen before it is modified?
I am starting now to study programming and because of that I am using Visualg to be easier to get the programming logic. It turns out I’m trying to develop an algorithm that can guess a person’s…