i'm getting WA, n' have tried almst evrythng
this is what i'm doing
I) i count the number of characters in either case and underscores
II) den i go for 5 cases
a--> if all are small , i print the string as it is
b--> if Ist character of string is '_' or capital, i print error
c-> if small+underscore == length of string, i remove evry underscore and replace the next character by its capital form
d-> if small+capital == length, i remove capital letters n' replace by '_' and small form
e-> error
hav i missed ne case. i've also tried removing case b), but that is WA obviously!!
what do i do now??