Questions tagged as 'visualg'

0
answers

somebody help me with this visualg function [closed]

I'm trying to use the visualg ready functions, to read a name, say the 3 letter code, as well as show it, but the problem is this giving direct error type ("this is the code for the third letter of your name:", copy (minusc (x), asc (x), comp...
asked by 28.09.2018 / 03:35
0
answers

Help with Visual G

I have a problem with Visual G. It's a college exercise (ADS - 1st Semester). I need to create a even or odd number identifier, however, without using MOD , division or multiplication, just addition and subtraction, and only with the co...
asked by 01.09.2018 / 18:03
1
answer

Why do you give an error in this type of comparison / choice?

escreval("Digite o consumo") leia(consumo) escolha consumo caso <= 100 escreval("Parabéns, voce e economico") caso >=101 e <200 escreval("Cuidado com o consumo") caso >200 escreval("Consumo execessivo"...
asked by 16.08.2018 / 00:07
1
answer

Line break At the Visualg run prompt:

I am building an algorithm to calculate an employee's special credit benefit. As you can see in the image at the run prompt, the result of running line 23 goes past the prompt screen without showing the result of the whole line and also can not...
asked by 08.08.2018 / 17:38
2
answers

Sum of numbers from right to left [closed]

I need to sum the digits of a number entered by the user. For example: If the input equal to 20, make 2 + 0 = 2 If the input equals 45, make 4 + 5 = 9 VisualG and C can be used.     
asked by 20.07.2018 / 16:17
0
answers

VisualG - Prog for limits

I'm doing the following exercise program:    Create an algorithm that reads the lower and upper limits of a   range and print all odd numbers in the open interval and   its summation (USE IT). Suppose the data you enter is   for a decreasing...
asked by 14.05.2018 / 15:48
1
answer

Gives an "if" error but does not say what error it is! visualg

algoritmo "tinder" var l, m, i, b, c, s: logico pri, seg, ter: logico andressa, monica, leticia, eduarda, maria, ana, clarisse, joana: logico inicio escreval ("----------------------------------") escreval (" PA...
asked by 20.04.2018 / 18:02
1
answer

Create algorithm that calculates LOG in visualg [closed]

I was given a list of exercises to do in VisuAlg and I am doubtful in one of these exercises:    "Enter the number and base on which you want to calculate the log of that number and print it." I know I have a function that calculates loga...
asked by 06.12.2017 / 12:35
0
answers

exercise in visual algorithm [closed]

The consumer cost of a new car is the sum of the factory cost with the dealer percentage and the taxes, both applied to the factory cost. It is known that the percentages are the same as those in the following table. Make a program that takes th...
asked by 11.09.2017 / 14:13
1
answer

Help with code in Visualg

I'm trying to make this snippet of my code work enquanto(n <> "s") e (n <> "n") faca escreva("") leia(n) fimenquanto but it returns this error     
asked by 03.10.2017 / 00:01