1) The number 'N' of samples to include in the sum can be adjusted with the '+' and '-' buttons. The minimum value of 'N' is 3 and the maximum is 10.
2) Every time the 'SEND NUMBER' button is pressed a new random number (between 1 and 9) is generated and added to the running sum buffer
3) The contents of the running sum buffer are shown on the main activity page.
4) New numbers are added to the running sum buffer until it contains 'N' elements. After that the oldest number is removed before adding the new one so that the length of the running sum buffer never exceeds 'N'.
5) If 'N' is adjusted to be smaller than the number of items in the running sum buffer, the oldest elements are dropped until the running sum buffer contains 'N' elements.
6) The sum of the buffer elements is computed and shown on the main activity page. The sum of an empty buffer is zero.
Hello. I am a skilled Java and Android developer and I can do this task for you very easily and promptly. Please check my portfolio and reviews. Thanks.
$25 USD in 1 day
0.0 (0 reviews)
0.0
0.0
3 freelancers are bidding on average $28 USD for this job
I have strong experience in mobile apps development and computational logic paradigm. I develop various apps for mobile phone and I am sure, I will satisfy your requirement with all my hearts. You will not feel disappointed. For further, you can contact over inbox.
Regards!