Answer:
%Open the file.
fID = fopen('parts_inv.dat');
%Read from the file.
data = fscanf(fID,'%d\t%f\t%d',[3,inf]);
%Close
fclose(fID);
%Restore the data.
data = data';
%Get the size
[rs, cs] = size(data);
%Set value.
invCost = 0;
%Loop
for rw = 1 : rs
%Find cost
invCost = invCost + (data(rw, 2) * data(rw, 3));
%Loop end
end
%Display the cost.
fprintf('Total cost: %4.2f\n\n', invCost);
Explanation:
Answer:
Well, to me that person was really and very very different from me.
I didn't met that person by person, but I felt like I was a very happy person,
It did, but it kinda went down.
But I'm always ready to fix it.
Hope it helps.(ツ)
Im pretty sure its called a tendon. :/