Write a script that inputs several lines of text and a search character and uses String method indexOf to determine the number of occurrences of the character in the text.

What will be an ideal response?


```

1

2

3

4

5

6

7 Solution: 18.13

8

9

35

36

37

38



39

Enter some text


40