All test cases are not passing

exact same code i have written but its passing 3/5 test case


please whats the mistake

line 16
should have
else if(ch==’.’){

u had mistakenly done =