Skip to content
CampusEduX

Count Full-Line Comments

Easyjava
Learn the Concept: Comments

Count how many of the given lines are full-line single-line comments — that is, the first non-whitespace characters on the line are //.

Input: the first line is an integer N; then N lines of text.

Output: one line — the number of full-line // comments.

Related Problems

Input (stdin)

Output

Run your code to see output here...