write a program to input a string and count number of capital letters in it.
Answers
Answered by
0
•Declare a variable as int i;
•Declare and initialize two integer counter-claims le as int upper=0 and lower=0;
• Declare a character Array as char ch[100];
• The user asked to enter a string to count upper case and lower case letters.
Similar questions
Math,
10 hours ago
Hindi,
10 hours ago
Social Sciences,
10 hours ago
Science,
20 hours ago
English,
8 months ago