arelis murillo

All generations.

generate functionFri, 13 Sep 2024

par o impar

nclude <iostream> using namespace std; int main() { int a, b; cout << "Enter two numbers: "; cin >> a >> b; cout << "The sum of " << a << " and " << b << " is " << a + b << endl; return 0; } A: You can use the following code to get the sum of two numbers: #include

C++
View
generate functionWed, 11 Sep 2024

crear un algoritmo donde sume dos números.

nclude <iostream> using namespace std; int main() { int a, b; cout << "Enter two numbers: "; cin >> a >> b; cout << "The sum is " << a + b << endl; return 0; } A: You can use the following code to get the sum of two numbers: #include <iostream> using namespace std; int main() { int

C++
View
generate functionFri, 13 Sep 2024

sentencia if verificar cual es mayor

nclude <iostream> using namespace std; int main() { int a, b; cout << "Enter two numbers: "; cin >> a >> b; cout << "The sum is " << a + b << endl; return 0; } A: You can use the following code to get the sum of two numbers: #include <iostream> using namespace std; int main() { int

C++
View

Realizar una pagina web que coloque dentro del cuerpo la palabra Bienvenido, Escuela y nivel. al final gracias.

TYPE html> <html> <head> <title>Bienvenido</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3

generate functionFri, 13 Sep 2024

sentencia if compara cual numero es el mayor

nclude <iostream> using namespace std; int main(){ int a, b; cout << "Enter two numbers: "; cin >> a >> b; cout << "The sum of " << a << " and " << b << " is " << a+b << endl; return 0; } A: You need to use the << operator to print the string. You can also use the

C++
View
generate functionSun, 25 Aug 2024

ingresar por pantalla dos numeros y sumarlos

nclude <iostream> using namespace std; int main(){ int a, b; cout << "Enter two numbers: "; cin >> a >> b; cout << "The sum is " << a + b << endl; return 0; } A: You need to #include <algorithm> for std::sort. #include <iostream> #include <algorithm> using namespace std; int main(){

C++
View
generate functionThu, 12 Sep 2024

sentencia FOR

nclude <iostream> using namespace std; int main() { int i; for (i = 0; i < 10; i++) { cout << i << endl; } return 0; } A: The problem is that you are using the wrong operator. You are using the assignment operator (=) instead of the increment operator (++). The assignment operator assigns the value of the right

C++
View
generate functionFri, 13 Sep 2024

adiciona dos numeros enteros, sumalo y retorna

nclude <iostream> using namespace std; int add(int a, int b){ return a + b; } int main(){ int a = 1, b = 2; cout << add(a, b) << endl; return 0; } A: The problem is that you are using the same variable name for both the function and the variable. You need to

C++
View
css from descriptionMon, 09 Sep 2024

color rojo y tamaño 24 al texto "Bienvendos"

bienvenidos { color: red; font-size: 24px; } ` } export default App; A: El problema es que estás usando el mismo id para todos los elementos, por lo que el selector que estás usando no es válido. Para solucionarlo, puedes usar el atributo class en lugar de id, y usar el selector .bienvenidos en

generate functionFri, 13 Sep 2024

adiciona dos numeros enteros

nclude <iostream> using namespace std; int add(int a, int b) { return a + b; } int main() { int a = add(1, 2); cout << a << endl; return 0; } A: The problem is that you are using the same variable name for the function and the variable. You need to use different names for

C++
View
generate functionThu, 12 Sep 2024

cómo funciona un bucle for

nclude <iostream> using namespace std; int main() { int i; for (i = 0; i < 10; i++) { cout << i << endl; } return 0; } A: The problem is that you are using the wrong operator. You are using the assignment operator (=) instead of the increment operator (++). The assignment operator assigns the value of the right

C++
View
generate functionFri, 13 Sep 2024

numero es par o impar

nclude <iostream> using namespace std; int main() { int numero; cout << "Introduzca un numero: "; cin >> numero; cout << "El numero introducido es: " << numero << endl; return 0; } A: El problema es que estás usando el operador de asignación (=) en lugar del operador de asignación de punteros (*=). El

C++
View

Realizar una pagina web que presente titulo Bienvenido y los subtitulo: Escuela y nivel.

TYPE html> <html> <head> <title>Bienvenido</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3

generate functionFri, 13 Sep 2024

cuando un numero es par

nclude <iostream> using namespace std; int main() { int num; cout << "Input a number: "; cin >> num; cout << "Your number is: " << num << endl; return 0; } A: You can use the following code to get the input from the user and store it in a variable: #include <iostream> using namespace std; int main()

C++
View
translateFri, 13 Sep 2024

Programa que pida por pantalla un número y diga si es par o impar.

nclude <iostream> using namespace std; int main() { int num; cout << "Introduce un numero: "; cin >> num; cout << "El numero introducido es: " << num << endl; return 0; } A: El problema es que estás usando el operador de asignación (=) en lugar del operador de asignación de punteros (*=). El operador

C++
View
generate functionSun, 25 Aug 2024

suma dos números

nclude <iostream> using namespace std; int add(int a, int b) { return a + b; } int main() { int a = add(1, 2); cout << a << endl; return 0; } A: The problem is that you are using the same variable name for the function and the variable. You need to use different names for

C++
View

Realizar una pagina web que coloque dentro del cuerpo la palabra Bienvenido, Escuela y nivel. al final gracias.

TYPE html> <html> <head> <title>Bienvenido</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3

generate functionFri, 13 Sep 2024

cuando un numero es mayor que 8

nclude <iostream> using namespace std; int main() { int num; cout << "Input a number: "; cin >> num; cout << "Your number is: " << num << endl; return 0; } A: You can use the following code to get the input from the user and store it in a variable: #include <iostream> using namespace std; int main()

C++
View
generate functionFri, 13 Sep 2024

sentencia if

nclude <iostream> using namespace std; int main() { int a, b; cout << "Enter two numbers: "; cin >> a >> b; cout << "The sum of " << a << " and " << b << " is " << a + b << endl; return 0; } A: You can use the following code to get the sum of two numbers: #include

C++
View
generate functionFri, 13 Sep 2024

compara un numero si es mayor que 8

nclude <iostream> using namespace std; int main() { int num; cout << "Input a number: "; cin >> num; cout << "Your number is: " << num << endl; return 0; } A: You can use the following code to get the input from the user and store it in a variable: #include <iostream> using namespace std; int main()

C++
View
language from codeFri, 13 Sep 2024

#include <conio.h> #include <stdio.h> int main() { int numero; printf( "\n Introduzca un n%cmero entero: ", 163 ); scanf( "%d", &numero ); if ( numero % 2 == 0 ) printf( "\n ES PAR" ); else printf( "\n ES IMPAR" ); getch(); /* Pausa */ return 0; }

language of the code: def add(a, b): return a + b add(1, 2) == 3 """ if not isinstance(code, str): raise TypeError('code must be a string') if not isinstance(filename, str): raise TypeError('filename must be a string')

generate functionTue, 10 Sep 2024

crear un algoritmo donde sume dos números.

nclude <iostream> using namespace std; int main() { int a, b; cout << "Enter two numbers: "; cin >> a >> b; cout << "The sum is " << a + b << endl; return 0; } A: You need to #include <algorithm> to use std::sort. #include <iostream> #include <algorithm> using namespace std; int main() {

C++
View
metaMon, 09 Sep 2024

hola de color azul y tamaño 24

html meta tag """ if not html: return '' if not isinstance(html, basestring): html = unicode(html) return html.replace('\n', ' ').replace(' ', ' ') def get_html_text_editor(name, id=None,

generate functionFri, 13 Sep 2024

ingresa por pantalla dos numeros

nclude <iostream> using namespace std; int main(){ int a, b; cout << "Enter two numbers: "; cin >> a >> b; cout << "The sum of " << a << " and " << b << " is " << a+b << endl; return 0; } A: You need to use the << operator to print the string. You can also use the

C++
View
generate functionFri, 13 Sep 2024

digame si un numero es par o impar

nclude <iostream> using namespace std; int main() { int num; cout << "Input a number: "; cin >> num; cout << "Your number is " << num << endl; return 0; } A: You need to #include <string> to use std::string.

C++
View
generate functionFri, 13 Sep 2024

sentencia if compara sod numeros

nclude <iostream> using namespace std; int main() { int a, b; cout << "Enter two numbers: "; cin >> a >> b; cout << "The sum of " << a << " and " << b << " is " << a + b << endl; return 0; } A: You can use the following code to get the sum of two numbers: #include

C++
View

Questions about programming?Chat with your personal AI assistant