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
Auf dieser Seite können Sie das Online-Video 13. Gotham City - JavaScript Coding Challenge mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Frontend Forge 04 September 2022 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 106 Mal angesehen und es wurde von 0 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!