arr = input('Enter your array: ');
r,c = size(arr);
for j = 1:c
sum = 0;
for i = 1:r
sum = sum + arr(i,j);
end
arr2(j) = sum;
end
disp(arr2);
Oh man, that "sum" variable is a whore variable!
r,c = size(arr);
for j = 1:c
sum = 0;
for i = 1:r
sum = sum + arr(i,j);
end
arr2(j) = sum;
end
disp(arr2);
Oh man, that "sum" variable is a whore variable!
by Moumen_El_Gamed October 24, 2018

by badbitchparty December 21, 2019

by Spracker77 January 6, 2019

by Jboneak July 19, 2020

by Farehax December 11, 2022

Girl 1: “I’m talking to this new guy, I can see it lasting a long time!”
Girl 2: “you think every guy is the one, your such a commitment whore”
Girl 2: “you think every guy is the one, your such a commitment whore”
by BigBrownChungus March 8, 2025

by Queerd April 15, 2025
