The problem is the following I have my code in which it generates 10 random numbers in an array, then shows them and then orders them, what I want is that when I re-execute the "fill" function that is the that generates the numbers an arrangemen...
The program must ask for the notes of the number of students entered by the user, which can be only between 0 and 10. It must be said how many 0, 5 and 10 have appeared. The entered notes that are not 0, 5 or 10 must also be said.
The program...
The following SCRIPT checks the existence of files whose names are in an Array, if there is no file it shows a warning
The output is made through a table.
var table = document.getElementById('dataTable');
var pagina = ['pepito.html', 'I...
Why when calling the functions that multiply and divide each of the elements of the rows of an array, it only shows me the first multiplication of the first row of the array, and the other results show them as equal to zero?
#include <stdio...
I have this code:
include <stdio.h>
define TAM 64
int main(int argc, const char **argv) {
char cadena[TAM] = {0};
while (fgets(cadena, sizeof(cadena), stdin) != NULL)
printf("%s\n", cadena);
}
When I run it in the...
I have a question about this error (I'm starting with java):
Exception in thread "main" java.lang.RuntimeException: Uncompilable
source code - Erroneous tree type: principal.Patent at
principal.Principal.main (Principal.java.20)
C: \...
I need to make a code that meets these conditions:
I already made the program using linked lists:
#include<iostream>
using namespace std;
struct nodo{
int dato;
nodo *sig=NULL;
};
void apilar(nodo *&inicio,int x);...
I need to invert the values of an array, where if for example I get
1 5 2 4 1 5 9 4 6
See me like this,
9 4 6 4 1 5 1 5 2
This is my method, it prints certain values in 0, I need to see what it can be
are 2 vectors,...
Avion
public class Avion{
private int matricula;
private String modelo;
private String marca;
public Avion(){
}
public Avion(int matricula, String modelo, String marca ){
this.matricula=matricula;
this.modelo=modelo;
this.marc...
I'm recently watching C programming and we started with the fixes, there is an exercise where I have an N-size array with repeated numbers (entered by the user), what I'm asked to do is that the user enter a number and verify in the fix if it is...