Computer Science, asked by sanjita3891, 20 hours ago

write a program to input a string and count number of capital letters in it.​

Answers

Answered by sangeetakhatana6162
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