Wait can this be actually beep on phone ..sori new to this kinda just askin | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

Wait can this be actually beep on phone ..sori new to this kinda just askin

You need to make a countdown app. Given a number N as input, output numbers from N to 1 on separate lines. Also, when the current countdown number is a multiple of 5, the app should output "Beep". Sample Input: 12 Sample Output: 12 11 10 Beep 9 8 7 6 5 Beep 4 3 2 1

20th Jul 2021, 7:46 AM
Jeremiahgustusjunior
Jeremiahgustusjunior - avatar
3 Antworten
+ 5
Jeremiahgustusjunior , without having seen your code we are not able to help you. we don't want to write this code for you, but we are very pleased to support you, so that you will be able to solve this task by yourself. => please put your code in playground and link it here. thanks!
20th Jul 2021, 10:43 AM
Lothar
Lothar - avatar
+ 3
Jeremiahgustusjunior Your phone will not beep when the count is a multiple of 5. "Beep" is a string output meant to signify an action, not a real action.
20th Jul 2021, 9:54 AM
Rik Wittkopp
Rik Wittkopp - avatar
0
Output text ain't working
20th Jul 2021, 7:47 AM
Jeremiahgustusjunior
Jeremiahgustusjunior - avatar