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...
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...
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"...
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...
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.
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...
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...
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...