Generation

generate functionFri, 14 Apr 2023

Escribir un programa que calcule y muestre por pantalla el mayor de dos números

int main() { int a, b, c; cout << "Enter two numbers\n"; cin >> a >> b; c = a > b ? a : b; cout << "The largest number is " << c; return 0; }

Want to kickstart your project?Use the new AI Studio to create your code