0 LIKES LikeUnLike
Predict the output of the code if it is run on a binary computer that uses chopping. Estimate the # of times the programmer intended for this loop to be executed, and the number of times it is actually executed. Would the outcome be the same if "X=X+H" was replaced with "X=I*H" ?I=0X=0.0H=0.1WHILE X < 1.0 I = I + 1 X = X + H disp([I,X])end
Tags:
Report (0) (0) | earlier
Latest activity: earlier. This question has 1 answers.