End-ING

Report a typo

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.

Sample Input 1:

reading

Sample Output 1:

yes
Write a program in Go
package main

import (
"fmt"
"strings"
)

func main() {
var source string

fmt.Scan(&source)

// Your code here
}
___

Create a free account to access the full topic