Finding maximum integer between [100,200] divisible by 21?
Show older comments
I want use "for" and "while" to get the result.
1 Comment
Jan
on 21 Nov 2018
This sounds like a homework question. Using for and while will be hard, but one or the other is smart enough. Please post, what you have tried so far and ask a specific question. The forum will not solve your homework. You need one line of code only, therefore it is hard to give some hints without posting the complete solution.
Answers (2)
Categories
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!