You know that in English, some words end with "ing", which means that this is a verbal noun, a gerund, or a participle. You need to write the code to determine whether a word from input ends with an "ing". Then print "yes" or "no" to answer the question.
String search
End-ING
Report a typo
Sample Input 1:
readingSample Output 1:
yesWrite a program in Go
package main
import (
"fmt"
"strings"
)
func main() {
var source string
fmt.Scan(&source)
// Your code here
}
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.