We have the student table with the following fields:
doc_est int(30)
nom_est varchar(30)
ape_est varchar(30)
edad_est int(11)
They ask us to perform the following function:
• Show the name and age of the youngest student.
I have...
I have a problem trying to show the result of the division of the elements of each row of a two-dimensional array.
What you plan to do is: Divide the first element of the row of a two-dimensional array between the second element of the row, a...
the program performs basic arithmetic operations (addition, subtraction, multiplication ...) and calculates functions sin, cos, Ln (neperian logarithm.)
the calculator must be able to validate grouping signs in order to calculate complex express...
They ask me the following:
Perform an algorithm that generates 100 random numbers from 1 to 200.
The system must save these random numbers in a range of 100
positions, in this arrangement you should not repeat any number generated.
A...
Hello, what happens is that I do not understand how to multiply a string by the number of times a variable tells me and store it in a function, I explain 6 is the number of times it has to be repeated and a! It is the string as I do so that it s...
//Creo una función donde voy a sumar todos los valores totales de la última columna
var sumaTotalesDetalleGastoGeneral = function(){
//Inicializo en 0 el valor a establecer indicando el resultado de la sumatoria
var totales = 0;
//Recorro todas...
Use ghci in notepad ++
I have the following function:
suma :: (Integer, Integer) -> (Integer)
suma (x,y) = x + y
Running this on the console:
*Main> suma (3,5)
I get the following error:
<interactive>:6:1: error:
*...