modified: resources/bytecode/javFiles/VectorAdd.jav

This commit is contained in:
pl@gohorb.ba-horb.de 2022-12-05 17:22:35 +01:00
parent 291fee12db
commit 9310882a28

View File

@ -5,6 +5,7 @@ import java.lang.Integer;
public class VectorAdd {
vectorAdd(v1, v2) {
var i = 0;
v1 = new Vector<Integer>();
var erg = new Vector<>();
while (i < v1.size()) {
erg.addElement(v1.elementAt(i) + v2.elementAt(i));