June 1, 2022, 8:36 p.m. | Nat's Tech Notes

DEV Community dev.to

CodeWars challenges solved

1) Grasshopper - Personalized Message (8 kyu)

2) Parse nice int from char problem (8 kyu)

3) Correct the mistakes of the character recognition software (8 kyu)





Kata 1: Grasshopper - Personalized Message





Instructions


Create a function that gives a personalized greeting. This function takes two parameters: name and owner.


Use conditionals to return the proper message:



  • name equals owner => 'Hello boss'

  • otherwise => 'Hello guest'





Breaking down the problem


Parameters


As mentioned in the instructions …

javascript

SOC 2 Manager, Audit and Certification

@ Deloitte | US and CA Multiple Locations

Information Security Engineers

@ D. E. Shaw Research | New York City

Staff DFIR Investigator

@ SentinelOne | United States - Remote

Senior Consultant.e (H/F) - Product & Industrial Cybersecurity

@ Wavestone | Puteaux, France

Information Security Analyst

@ StarCompliance | York, United Kingdom, Hybrid

Senior Cyber Security Analyst (IAM)

@ New York Power Authority | White Plains, US