Write a program that will find the smallest number that is divisible (without remainder) of each of the numbers 1 to 10.

조회 수: 3(최근 30일)
Thank You

답변(3개)

José-Luis
José-Luis 2017년 9월 1일
편집: José-Luis 2017년 9월 1일
disp('2520')
Or did you expect people to do your homework?
  댓글 수: 3
John D'Errico
John D'Errico 2017년 9월 2일
@Scott: if you can't do your own homework, then don't bother asking someone else to do it for you. :)

댓글을 달려면 로그인하십시오.


Star Strider
Star Strider 2017년 9월 1일
Since ‘remainder’ is the important requirement, search the MATLAB (link) online help for that term.

Image Analyst
Image Analyst 2017년 9월 1일

범주

Find more on Loops and Conditional Statements in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by