This is a JavaScript solution for sololearn community coding challenges - Gotham City
Click here to subscribe to the channel:
https://bit.ly/3ePLDJy
Problem Statement:
You are a police officer, and you get a report of criminal activity! Should you go on your own, or should you call a superhero to help you fight the crime? If there are less than 5, you can handle this on your own, if there are 5-10, you will want to go with Batman for backup, and if there are more than 10, you should stay where it is safe and let Batman handle this on his own!
Task:
Determine whether you need to call backup based on the total number of criminals being reported.
Input Format:
An integer that represents the total number of criminals present at the scene.
Output Format:
A string that says 'I got this!', 'Help me Batman', or 'Good Luck out there!' depending on the scenario.
Sample Input:
7
Sample Output:
'Help me Batman'
#javascriptChallengesOnCodeTech #codeTech #javascript #javascriptforbeginners #gotham #batman #challenge #codingchallenge
In questa pagina del sito puoi guardare il video online 13. Gotham City - JavaScript Coding Challenge della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Frontend Forge 04 settembre 2022, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 106 volte e gli è piaciuto 0 spettatori. Buona visione!