Question #1857

Question#2
Write a program that that reads n values in a list and prints the product of the value and the position at which it resides in the list i.e product=L[1]*,product=L[2]*2,and so on.
Note:the list does not change
Example: position: 1 2 3 4 5 value: 5 3 7 1 4 output: 5 6 21 4 20

Expert's answer

Unfortunately, this task cannot be done for free. You can submit all your requirements as an assignment to our control panel set the deadline and our programmers will assist you.

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!

LATEST TUTORIALS
APPROVED BY CLIENTS