Chatbot
Given an input of string, return “Hello, Zura” if the input is “Katsura”. Otherwise return the given input as shown in the examples.
Sample Code:
function greet(name) {
// Enter your logic here...
}
Examples:
Input: 'Katsura'
Output: 'Hello, Zura!'
Explanation: 'Katsura' as an input, therefore 'Hello, Zura!'.
Input: 'John'
Output: 'Hello, John!'
Explanation: The input is not 'Katsura', therefore 'Hello, John!'.