convert C to MARIE

Discussion in 'Homework Help' started by 4ndr3c03lh0, Jun 5, 2010.

  1. 4ndr3c03lh0

    Thread Starter New Member

    Jun 3, 2010
    7
    0
    Good afternoon ..
    I am having some problems converting this code in C language to language MARIE ..
    I would appreciate if someone could help me ..
    I do not know how to make this statement MARIE ..:confused::confused:

    short int a [100];
    ...
    array_integral (a, 100);
    ...
    void array_integral (short int vec [], short int size) (
    short int i;
    for (i = 1; i <size; i + +)
    vec = vec + vec [i - 1];
    )

    Thanks
     
  2. bertus

    Administrator

    Apr 5, 2008
    15,649
    2,348
Loading...