Forums Register Login

Java Multiply with diferrent value

+Pie Number of slices to send: Send
Hello expert Java I want to implement the following simple algorithm with java. I have an input which is to be multiplied by one and two.

Input: 123456 Multiplication: (1*1)+(2*2)+(1*3)+(2*4)+(1*5)+(2*6)=result



thanks in Advance
+Pie Number of slices to send: Send
… and what do you think you should do?

You might do well to start by telling us exactly what the algorithm is.
Can you hear that? That's my theme music. I don't know where it comes from. Check under this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 409 times.
Similar Threads
help with programing
Some Basic jUnit questions!
How can I fix these NullPointerExceptions?
Sun Academic Initiative offer of a FREE SCJA Beta Certification Exam
math question - (divided by 2?)
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 14:24:18.