I'm doing a program that transforms an array into a transposed array.
I'm using 3 functions because I want to learn how to pass parameters from arrays .
The main() function calls the mValores function that prompts the user for...
I have a code in javascript that sends some elements of the page to another in PHP via ajax and there are some comparisons. Then it returns this array with the print_r () function:
However, I'd like to use return for a second javascri...
As you can see in the code, when I click I'm defining the phrase in a random way, but when I click, I want the phrase to be defined by the indexes myself, how do I do this?
Public class MainActivity extends AppCompatActivity {
private Tex...
I was looking to create a ranking system. For this I thought of putting all the values inside a Array and then through a function to organize it from the largest to the smallest. However, every time I do each position, I always have to ma...
having as example a vector of two dimensions of type char 2x2:
char vet[2][2];
Is it possible to assign to the first line indices of this vector?
or do they work like a pointer to the other rows and columns?
I tried to do it as fo...
Good evening. I have an evaluative activity of the college to be delivered but I can not think of the logic and solve the first activity. Can anyone explain to me where my error is and advice to better understand indexes in for. I make a mess wi...
I need to register 5 names and their heights, then show them all in ascending order. The problem is that I can only put the heights in the order, the names are in the order I typed. And also I am not able to use the double in place of the int...
Hello everyone. I need help getting a vector of integers (separated by spaces) from the user. Here is my code:
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
/*Observacoes:
1, se a ordem nao e decrescente
-1, se...