- 1

program using UDF numbers of alphabets in a string

class 11 chapter functions

28th Nov 2016, 7:48 PM
burhanuddin
burhanuddin - avatar
1 Réponse
0
int nos_of_alpha(string str) { int count = 0; for(int i=0;i<str.length();i++) { if(str[i] != ' ') count++; } return count; }
29th Nov 2016, 6:52 AM
Abhishek Kumar
Abhishek Kumar - avatar