- 2

Cuenta atrĂĄs. C++ ÂĄHelp!

31st Mar 2021, 9:53 PM
The Lion Alex 1
The Lion Alex 1 - avatar
6 Answers
+ 7
soluciĂłn! Espero haberles ayudado :) #include <iostream> using namespace std; int main(){ int n; cin >>n; for (int i= n; i >= 1; i--) { cout << i << endl; if(i%5==0){ cout << "Beep" << endl; } } return 0; }
22nd May 2021, 7:49 PM
Yerssin PĂ©rez
Yerssin PĂ©rez - avatar
0
#include <iostream> using namespace std; int main() { int n; cin >> n; //tu cĂłdigo va aquĂ­ return 0; }
1st Apr 2021, 12:24 AM
The Lion Alex 1
The Lion Alex 1 - avatar
- 2
me pueden ayudar con el proyecto titulado cuentra atrĂĄs
13th Apr 2021, 12:32 AM
JESUS EMMANUEL SAUCEDO CARDENAS
JESUS EMMANUEL SAUCEDO CARDENAS - avatar
- 11
Necesitas hacer una app de cuenta atrĂĄs. Dado un nĂșmero N como entrada, genera nĂșmeros de N a 1 en lĂ­neas separadas. AdemĂĄs, cuando el nĂșmero actual de la cuenta atrĂĄs es un mĂșltiplo de 5, la app deberĂ­a producir "Beep". Ejemplo de entrada: 12 Ejemplo de salida: 12 11 10 Beep 9 8 7 6 5 Beep 4 3 2 1
1st Apr 2021, 12:25 AM
The Lion Alex 1
The Lion Alex 1 - avatar