Posts by Thiago Henrique Domingues • 167 points
16 posts
-
1
votes0
answers28
viewsQ: Problem to import Google libraries in Intelij IDEA
I am trying to use the Google Drive API for JAVA but I am facing problems when importing. The code is working normally, but my import is giving error. Does anyone know what might be happening.…
-
1
votes1
answer439
viewsQ: Create generic modal in React Native
I’m trying to create a Modal component that can be reused in other parts of the application. However I am not managing to carry out the opening control of the same. Follow my attempt: Modal export…
-
2
votes5
answers4459
viewsQ: Access dictionary within a Python list
I have the following list whose elements are dictionaries: [{'nome': 'ana', 'cpf': '1000', 'endereco': 'rua xxxx'}, {'nome': 'carlos', 'cpf': '7770', 'endereco': 'Rua aaaa'}] I want to do the search…
-
1
votes1
answer121
viewsQ: Problem passing argument via Python command line
I am a beginner in Python and am facing the following problem to pass an argument via Python command line. from math import pi import sys def circulo(r): return pi * float(r) ** 2 if __name__ ==…
-
1
votes1
answer339
viewsQ: Check if the number typed is already present on the struc
Good afternoon, I’m facing the following problem. I need to make an algorithm for registering bank accounts of 15 people with the following information: account number, name and balance. However it…
-
0
votes0
answers489
viewsQ: Function to multiply each row of a matrix by the value of its corresponding secondary diagonal
I’m not getting the values of the secondary diagonal of a matrix by a function. /* 19) Elabore uma sub-rotina que receba como parâmetro uma matriz A(6,6) e multiplique cada linha pelo elemento da…
-
0
votes0
answers36
viewsQ: Function that returns multiple elements
I have a doubt in the following exercise: Make a subroutine that takes a single value representing seconds. This subroutine should convert it to hours, minutes and seconds. All variables should be…
-
0
votes1
answer8098
viewsQ: Stack error Smashing Detected in C
Could someone help me on the following question: Create a program that fills a 6x4 matrix with integers, calculate and show how many elements of this matrix are greater than 30, and then assemble a…
-
0
votes1
answer7113
viewsQ: Eliminate repeated elements of a vector in C
I have to make an algorithm in C that takes user values and armzazena in 2 different vectors (X and Y) and then shows the union (all elements of X and Y without repetitions), the difference (all…
-
2
votes1
answer1822
viewsA: Write number typed in full in JS
var n = (prompt("Digite um número: ")); var unidades=["Zero", "Um", "Dois", "Três", "Quatro", "Cinco", "Seis", "Sete", "Oito", "Nove"]; var especiais=["Dez","Onze", "Doze", "Treze", "Catorze",…
-
0
votes1
answer1822
viewsQ: Write number typed in full in JS
I have a college job to do where you ask the user to enter a number between 0 and 999 and the algorithm must print the entered value in full. I was asking the teacher for help today and he told me…
-
0
votes2
answers81
viewsQ: Problems in C algorithm
Can anyone tell why the program simply closes when I type the The? #include <stdio.h> #include <locale.h> //Biblioteca locale é uitlizada para definar o idioma do programa. int main() {…
casked Thiago Henrique Domingues 167 -
1
votes1
answer545
viewsQ: Help in C algorithmic activity
Can anyone tell what I’m doing wrong in my code? 1) Make a program that determines the chronologically larger date between two dates provided by the user. Each date shall be composed of three…
casked Thiago Henrique Domingues 167 -
2
votes2
answers247
viewsQ: Tabulated problem in C
Can anyone tell me why the looping isn’t working properly? It was to print the 0 to 10 times, but instead it is printing typed number * 11. Follow the code: #include <stdio.h> int main(void) {…
casked Thiago Henrique Domingues 167 -
1
votes1
answer591
viewsQ: Doubt in code in C!
Personal someone could help me in this matter of my exercise list: Make a program that receives a real number, find and show: a) the whole of that number; b) the fractional part of that paragraph;…
-
1
votes2
answers608
viewsQ: Can anyone help me with this?
5) Make a program that receives the basic salary of an employee, calculate and show your salary to receive, knowing that the employee has bonus of R $ 50 and pays tax 10% #include <stdio.h>…