Help me code this problem. I really need help! | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Help me code this problem. I really need help!

You have created three arrays; array A of size 100, array B of size 50, array C of size 200. You are to store the first 100 numbers(1,2,3...100) into array A, the first odd numbers into array B, and the reciprocal of each position (1/index) into array C. Then, output the contents of each array. Decide on your own format for the output display. Thank you in advance!!

5th Dec 2022, 8:23 AM
clavel skie
clavel skie - avatar
3 Answers
+ 2
Please show your attempt or state which part you are having problem with.
5th Dec 2022, 8:57 AM
Lochard
Lochard - avatar
+ 1
Sorry, I can't be online regularly currently, so I jave limited time to check and reply. I hope this is what you need. https://code.sololearn.com/c7e58bD20z30/?ref=app
8th Dec 2022, 10:55 AM
Lochard
Lochard - avatar
0
https://code.sololearn.com/c6Ko2HybzWj6/?ref=app This is my attempt. Correct me if I'm wrong. Thank you
7th Dec 2022, 11:42 AM
clavel skie
clavel skie - avatar