Answer to Question #213564 in C++ for amey

Question #213564

Write the program segment for the following questions. ALL question are not

related.


5. set the array item with size 10 with the following data: 3, 5, 7, 9, 11 and 5, 10, 15, 20, 25

6. Let say the array arrayList was declared with size 15. Set the array arrayList with the following data 10, 15, 20, 25, ... using assignment statement


1
Expert's answer
2021-07-04T17:11:53-0400
  1. int array[10]={3,5,7,9,11,5,10,15,20,25};
  2. int temp=10;

for(int i=0;i<15;i++)

{

arrayList[i]=temp;

temp+=5;

}


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS