Posts by João Rosa • 57 points
7 posts
-
0
votes1
answer36
viewsQ: Event with Table Click
I am working with the FIPE table query API and, I would like to make sure that by clicking on any of the items in this table, the current table hides, and then a new table with the specific…
-
0
votes1
answer994
viewsQ: Help Portugol(ascending order)
The code below should sort the numbers typed in ascending order, but when typed 5,3 and 8 respectively, the program displays them out of order. program { funcao inicio() { //variaveis inteiro i real…
-
0
votes4
answers1171
viewsQ: Help in Portugol (se e senao encadeado)
It was proposed by the teacher to perform an activity, that from a day, month and year entered by the user, the algorithm should verify whether it is a valid date or not. Consider months with 30 and…
-
1
votes0
answers30
views -
0
votes2
answers31
viewsQ: Error in condition return
even after typing a negative value, Else returns nothing ;( #include <stdio.h> int main (void) { //variaveis int dia, mes, ano; //inicio printf("\ndigite o dia: "); scanf("%d", &dia);…
-
2
votes3
answers54
viewsQ: error in percentage?
A very interesting problem, the first two if me return valid values, but the latter returns a value different from the desired one. What to do? #include <stdio.h> int main (void) {…
-
0
votes2
answers59
viewsQ: difficulty sqrt()
I need to calculate the area of a rectangle triangle but I cannot identify the error. #include<stdio.h> #include<math.h> int main() { //declaracao de variaveis int a, b, c; int s; int…