Ask your own question, for FREE!
Computer Science 7 Online
OpenStudy (anonymous):

: Create a program, in which you create an integer array of 10 elements. Fill the array with random numbers, between 0 and 100 (including the limits). Print those elements to the screen that are greater than 10.

OpenStudy (anonymous):

void print() { int arr[10],i=0; for (int i=0;i<10;i++) { a[i]=random(101); if(a[i]>10) cout<<a[i]<<"\n"; } }

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!