locked
Ask about divide array RRS feed

  • Question

  • Mossini Ilario from Italy. 12/06/2018

    I m sorry about my English.

    I have a querry about informatic theory for me very difficult.

    My program in small basic is basated on this matematichs formula C=A/B.

    A Is the first array with n elements finites.

    B Is the second array with n elements finites.

    May I divide the n elements finites inclosed in array A and B ?

    Can i have how result C the third array with n- elements finites.

    Can I do with small basic this rule?

    Thank for Your help about this difficult question for Me.

    I wait your pulite reply.

    Grazia.

    Tuesday, June 12, 2018 7:26 AM

Answers

  • Hi,

    Do you have a Small Basic file that you are working on to do this?

    It sounds like a fairly straight-forward loop over elements, dividing each and putting in C : C[i] = A[i]/B[i]

    Tuesday, June 12, 2018 11:42 AM