Articles & News Stories

New Text Document (2)

of 2
All materials on our website are shared by users. If you have any questions about copyright issues, please report us to resolve them. We are always happy to assist you.
Related Documents
  import java.util.Scanner;public class ArraySum {public static void main(String[] args) {String []a=new String[9];int i;a[0]= 1 ;a[1]= 2 ;a[2]= 3 ;a[3]= 4 ;a[4]= 5 ;a[5]= 6 ;a[6]= 7 ;a[7]= 8 ;a[8]= 9 ;/*Scanner sc=new Scanner(;for(i=0;i<9;i++){System.out.println(a[i}int c,d=0;for(i=0;i<9;i++){c=Character.getNumericValue(a[id=d+c;}System.out.println(d);*/String x= @abcde @# 1 @36 ;String q,p,s= ;String []alpha=new String[26];alpha[0]= a ;alpha[1]= b ;alpha[2]= c ;alpha[3]= d ;alpha[4]= e ;alpha[5]= f ;alpha[6]= g ;alpha[7]= h ;alpha[8]= i ;alpha[9]= j ;alpha[10]= k ;alpha[11]= l ;alpha[12]= m ;alpha[13]= n ;alpha[14]= o ;alpha[15]= p ;alpha[16]= q ;alpha[17]= r ;  alpha[18]= s ;alpha[19]= t ;alpha[20]= u ;alpha[21]= v ;alpha[22]= w ;alpha[23]= x ;alpha[24]= y ;alpha[25]= z ;boolean bl,bl1;int let=0,num=0,sp=0;for(i=0;i<26;i++){q=alpha[i];bl=x.contains(q);if(bl== true){let=let+1;}}for(i=0;i<9;i++){p=a[i];bl1=x.contains(p);if(bl1== true){num=num+1;}}sp=0;char ch,apace=' ';for(i=0;i<x.length();i++){ch=x.charAt(i);if(ch==apace){sp=sp+1;}}int ot;ot=x.length()-sp-let-num;System.out.println(let+ letters +num+ numbers +sp+ spaces +ot+ other chars );}}
We Need Your Support
Thank you for visiting our website and your interest in our free products and services. We are nonprofit website to share and download documents. To the running of this website, we need your help to support us.

Thanks to everyone for your continued support.

No, Thanks

We need your sign to support Project to invent "SMART AND CONTROLLABLE REFLECTIVE BALLOONS" to cover the Sun and Save Our Earth.

More details...

Sign Now!

We are very appreciated for your Prompt Action!