You are on page 1of 1

FINAL EXAMINATION

Semester: Summer 2020


CSE115 Programming Language I

STUDENT’s NAME:
_______________________________________________________________________

STUDENT’s ID: ______________________________________SECTION: ____

Final Q1. [String] 10 pt


Write a program that reads a string and then produces as output,
i) the total count of Uppercase Letters and A sample input/output:
ii) the total count of Lowercase Letters.
(Exclude spaces)
Prompt:
Enter a sentence (100 letters maximum):
This is a note on C Functions and C
Structures

Output:
Number of Total Uppercase Letters: 5
Number of Total Lowercase Letters: 32

You might also like