Problem 2610. counting for loop
Complete the function below using a for loop to count from 3 to N by 2. For example, if N is 10, count 3, 5, 7, 9 and stop. For each value v, call the function mydisplay(v). Note that N could be less than 3, in which case mydisplay() should never be called.
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers60
Suggested Problems
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
1985 Solvers
-
Project Euler: Problem 1, Multiples of 3 and 5
3657 Solvers
-
899 Solvers
-
07 - Common functions and indexing 5
426 Solvers
-
520 Solvers
More from this Author6
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!