how are you?


Submit solution

Points: 10 (partial)
Time limit: 1.0s
Memory limit: 64M

Authors:
Problem type

題目說明

輸入一個字串,程式用Hello回應,但有一個例外,若使用者輸入任意大小寫形式的Hello,例如hEllo或是HeLLo,則輸出How are you。 提示:可考慮 equalsIgnoreCase() 這個API。

輸入資料限制:1 <= 輸入字串長度 <= 30。

輸入

注意輸入名稱可能含有空格

名稱

輸出

Hello 名稱

sample input1

Jack

sample output1

Hello Jack

sample input2

Taylor Swift

sample output2

Hello Taylor Swift

sample input3

hEllo

sample output3

How are you

Comments

There are no comments at the moment.