Me pueden ayudar | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
6th Feb 2018, 2:01 PM
Adair Garcia
Adair Garcia - avatar
2 Respostas
+ 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