class A{ public static void main(String [] args){ String str= "imranmalik"; int len=str.length(); String nwstr =""; for(int i=0;i<len;i++){ char ch=str.charAt(i); if(ch!=a||ch!=e||ch!=i||ch!=o||ch!=u){ nwstr=nwstr+ch; } } System.out.println(nwstr); } } | 0 |
By: [email protected] On: Fri Jul 21 12:57:04 IST 2017 0 0 4 | 4 |
Are You Satisfied :0Yes0No |