wap to input a string and count number of uppercase in java
Answers
Answered by
1
Answer:
Approach :
1) Scan string str from 0 to length-1.
2)check one character at a time on the basis of ASCII values. if(str[i] >= 65 and str[i] <=90), then it is uppercase letter, if(str[i] >= 97 and str[i] <=122), then it is lowercase letter, if(str[i] >= 48 and str[i] <=57), then it is number, ...
3)Print all the counters.
Explanation:
hope it is helpful to you
please like it
and mark me as brainlist
and please follow me
Answered by
0
Answer:
muje apni galati realize hogai hai
tumse bat karana hai kab free ho ..
Similar questions