Posts by Adrian Roger • 129 points
9 posts
-
-1
votes1
answer64
viewsQ: Decision problem within an array loop
My problem is in the second if, what I was actually trying to do was to determine that at the time the loop was passing through position 11 of the array it would add the " n", but the way I did it,…
javaasked Adrian Roger 129 -
2
votes1
answer14856
viewsQ: How to organize random integer values in descending order in a Java array?
I need to organize the values that the array receives randomly and leave them in descending order, but honestly I don’t know how to do it, there’s my code, I couldn’t organize. package…
-
3
votes3
answers88
viewsQ: Problem receiving random integer values in array
Eclipse does not point out any errors in the code, but does not execute. package gerarOrganizar; import java.util.Random; public class GerarOrganizar { public static void main(String[] args) { int…
-
1
votes1
answer2270
viewsQ: Print position of a matrix
The intention in this program would be to print the position linha and coluna where the highest value is located within the matrix, someone can tell me why the result is printing 0x0 and if there is…
c++asked Adrian Roger 129 -
0
votes2
answers1970
viewsA: How to control Youtube video borders
This edge on some videos is problem itself is editing, so it is impossible to solve the problem by resizing the player, if resize the player by width and height may prejudice the execution of…
-
1
votes3
answers2685
viewsA: Algorithm C language - Multiplication
Friend if you think programmable will be much easier to perform your task, I’ll give you an example of how to think your execution: receba the number of the keyboard, enquanto number for menor ou…
-
0
votes2
answers167
viewsA: scanf shows number always as pair
I took the liberty of making some modifications, I tried to change the minimum possible of your program, first the "%d" of your scanf, you were using "%f" that serves to float, another thing I also…
-
0
votes1
answer140
viewsQ: Vector error(one-dimensional matrix)
Can anyone tell me what’s wrong with this algorithm? Make a program where the user enters with N values and stores the first 10 even numbers in a vector called even. When you reach the tenth even…
c++asked Adrian Roger 129 -
4
votes2
answers32773
viewsQ: Spacing between html paragraphs
At first I want to say that I am beginner in the area, I started to attend recently Information system and my question is to perform a work worth note. by using the tag: <p>primeiro…