Count Upper

0

0 votes
Easy
Problem

Count how many uppercase letters are in the input.

INPUT FORMAT

Input begins with an integer N indicating how many character sequences are in the input. Succeeding lines begin with an integer t indicating how many characters ch follow.

OUTPUT FORMAT

For each input, output how many uppercase letters are found.

PROGRAM SPECIFICATION

Program must contain at least one function other than main.

CONSTRAINTS

1 <= N <= 100
1 <=
t <= 100
ch could be any letter of the alphabet (lowercase or uppercase)

Time Limit: 5
Memory Limit: 256
Source Limit:
Editor Image

?