Expert answer:I need help with a programming assignment

Answer & Explanation:Exercise #8:    Arrays
You must use one (or more) array(s) for each question.

Q. 1  Declare an array that can hold 25 decimals.  Fill (i.e., initialize) its first five elements with a loop using static values (e.g., array_name= 56.78).  Add all its elements using another loop.  Display the result (total) in a listbox. 
Using a “for each” loop, display all the elements in the listbox.  What do you notice?   NOTE:  As mentioned in the class, we have not been using first element.  You will notice that when you declare an array of 25 (e.g., Dim array_name(25) as…) you actually get 26 elements.  Remember that the first element is: array_name(0).  
Q.2  Declare an array that can hold 25 decimals.  Initialize its first three elements with a loop using inputboxes.  Multiply all these three elements using another regular “for” loop.  Display the result (of multiplication of the values you entered) in a listbox.  Make sure your result is non-zero.   HINTS:  (a) When an array element is not filled, it is 0 (b) When you multiply any number with a 0, you get a 0.  (c) Do not forget that you have 0th element to consider.
Q.3  Declare an array that can hold 10 strings.  Fill its first three elements with a regular “for” loop using inputboxes.  Then, using the “for each” loop, display all array elements in a listbox.
Q.4 Repeat Q.2:  This time, use the “for each” loop for total/multiplication.  HINTS for the multiplication result:  (a) “for each” loop takes ALL the element of an array.  (b) When an array element is not filled, it is 0 (c) When you multiply any number with a 0, you get a 0.  How do you avoid this problem?  See Q. 5.

How it works

  1. Paste your instructions in the instructions box. You can also attach an instructions file
  2. Select the writer category, deadline, education level and review the instructions 
  3. Make a payment for the order to be assignment to a writer
  4.  Download the paper after the writer uploads it 

Will the writer plagiarize my essay?

You will get a plagiarism-free paper and you can get an originality report upon request.

Is this service safe?

All the personal information is confidential and we have 100% safe payment methods. We also guarantee good grades

Calculate the price of your order

550 words
We'll send you the first draft for approval by September 11, 2018 at 10:52 AM
Total price:
$26
The price is based on these factors:
Academic level
Number of pages
Urgency
Basic features
  • Free title page and bibliography
  • Unlimited revisions
  • Plagiarism-free guarantee
  • Money-back guarantee
  • 24/7 support
On-demand options
  • Writer’s samples
  • Part-by-part delivery
  • Overnight delivery
  • Copies of used sources
  • Expert Proofreading
Paper format
  • 275 words per page
  • 12 pt Arial/Times New Roman
  • Double line spacing
  • Any citation style (APA, MLA, Chicago/Turabian, Harvard)

Our guarantees

Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.

Money-back guarantee

You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.

Read more

Zero-plagiarism guarantee

Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.

Read more

Free-revision policy

Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.

Read more

Privacy policy

Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.

Read more

Fair-cooperation guarantee

By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.

Read more

Order your essay today and save 20% with the discount code ESSAYHELP