Posts by Simon Viegas • 11 points
6 posts
-
1
votes2
answers1343
viewsA: How to eliminate repeated numbers from a visualg vector?
One way would be to check for each element of veto1 if it already exists in veto2, if it does not exist, add it to veto2. I could use the concept of flag to indicate whether or not veto2 already…
-
0
votes1
answer95
viewsA: fimse without a corresponding SE
I’m trying to run this code, but on line 40 in the fimse, it is presenting the error: fimse without corresponding SE In tests, it did not present the same error... both in version 2.5, and in…
visualganswered Simon Viegas 11 -
0
votes2
answers42
viewsA: How to print pairs and their positions in Visualg
I’ll try to summarize: fill the vector; for each vector position. If the number is even. Displays the number at its position. About: Recognize the pair, but only 1 of them. What can I do? Thank you…
visualganswered Simon Viegas 11 -
0
votes1
answer37
viewsA: INCORRECT SYNTAX Visualg
The decimal separator is the point ("."), not the comma (","). You cannot use these "()" brackets in the variables there on the "left side" of the expression. Of: (peso_i) <- (450,7 * altura) /…
-
0
votes1
answer941
viewsA: Visualg - Prog for limits
The inference limit is incorrect. See a test: How is a open interval, only values between 2 and 9 (inclusive) should be considered. 1 should not enter. To correct, just change from "-" to "+" at the…
-
0
votes1
answer488
viewsA: Error in Visualg in REAL variable
This code has no syntax errors. The code is working normally. Possible causes of the problem: any invalid character. Try copying the text from this post or simply open a new file and write; your…
visualganswered Simon Viegas 11