Questions tagged as 'portugol'

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
0
answers

I have some problems with my code - _ Portu

Anyway, I'm creating a game at Portugol Studio (Million Show), it's a question and answer game ... However, my work has to have the mode of 2 players (Multiplayer) And I have no idea how to make this Loop on the same question for the...
asked by 17.06.2018 / 11:26
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
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
2
answers

How to solve this "Error in syntax" [closed]

I have the following question and I can not think of a solution:    Make an algorithm that reads the duration of an event in seconds and displays it in hours, minutes, and seconds. My code: algoritmo "Duração de Evento" var segundos,...
asked by 20.08.2016 / 17:08
2
answers

Portugol expecting a value of type "real"

I have a problem with my pseudocode, when I run it it says:    the data entry of the program expected a value of type 'real', but no value was informed or the value informed is of another type; How to solve this? programa { funcao i...
asked by 10.04.2014 / 20:37
3
answers

Help in English

Request to enter a salary and the desired amount of benefit to be paid monthly. If the intended benefit is greater than 20% of the salary, show "Loan can not be granted". Otherwise show "Loan can be granted". I did it in portugol, but I'm not...
asked by 04.04.2018 / 18:15
1
answer

Save the ticket values by adding to the existing amount

   Create a flowchart that reads the user's value of a ticket and at the end shows: the total of the collection and how many tickets were sold. The flowchart should only stop when entering zero in the value of the ticket. It needs to store i...
asked by 06.08.2018 / 21:09
1
answer

Prog in C stating whether x is divisible

Good afternoon guys, all right? I'm continuing my C exercises, and I'm stuck in one more. Here is the statement of the same: Write an algorithm that receives a number from the keyboard and tell whether it is divisible by 8, by 5, by 2, o...
asked by 10.05.2018 / 19:02