Me pueden ayudar | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
6th Feb 2018, 2:01 PM
Adair Garcia
Adair Garcia - avatar
2 Answers
+ 4
Try running this in code::blocks or some other ide/compiler since code playground doesn’t accept runtime inputs ( well it does but it’s a pain since you have insert all inputs per line at the start and don’t get prompts). For example: 1 4 5 0 Will return 9 as expected. You still need to code for multiplication and division but the rest should work. Huh... 🤔 Intenta ejecutar esto en Code::blocks o otro ide/compilador. El code playground no acepta entradas en tiempo de ejecución. Puedes introducir las entradas solo en el inicio de fuerma secuencial, en cada línea. Por ejemplo: 1 4 5 0 Te dará 9 como esperado. Aún necesitas escribir el código para multiplicación y división pero deberá funcionar.
6th Feb 2018, 2:55 PM
A.A.
A.A. - avatar
0
Gracias
7th Feb 2018, 6:11 AM
Adair Garcia
Adair Garcia - avatar