looking for a java method that follows these guidelines that
were given to me
Create an IndexArray application that generates the number to store in an array element by summing its index and the individual digits of the index. For example, the element with index 17 should store 25 (17 + 1 + 7 = 25) and the element with index 2 should store 4 (2 + 0 + 2 = 4) Your program MUST use an array with 101 elements and then display the value at each element. = Application output should look similar to what is shown in Index-Array-img-2.png Note: Your code should align in columns as shown There is no need to write a separate method - you can do this in the main method. Make sure you include a comment block at the top of your code with the following information: Your name Date Project name a brief description of what the file does Submit as described.
Index Generated Number 2 ܙ 1 2 3 4 ܝܙܘܬܢܝܐ ܥܡܗܪܪ ܘܝ 5 8 9 19 11 12 13 6 8 19 12 14 16 18 11 13 15 17 ܢܢܝn ܢ
looking for a java method that follows these guidelines that were given to me
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
looking for a java method that follows these guidelines that were given to me
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!