function [s] = mySumm1_lecture_07() s=0; while true x=input('Введите число ') if (x~=0) s=s+x; else break; end end end