+ 1

I need a task based on loops topic

to develop my skills

22nd Sep 2018, 12:48 PM
srinu rocky
srinu rocky - avatar
5 Answers
+ 3
Example: 1. Find all even numbers less than 500 using loop. 2. Find all odd numbers less than 500 using loop. 3. Find all prime numbers less than 500 using loop.
22nd Sep 2018, 1:35 PM
Muhd Khairul Amirin
Muhd Khairul Amirin - avatar
+ 2
Even number can be divided by 2 without remainder. Use for loop then use if-else statements😉
22nd Sep 2018, 1:38 PM
Muhd Khairul Amirin
Muhd Khairul Amirin - avatar
+ 1
i need hints
22nd Sep 2018, 1:36 PM
srinu rocky
srinu rocky - avatar
+ 1
by using for loop multiplications
22nd Sep 2018, 1:39 PM
srinu rocky
srinu rocky - avatar
+ 1
we can get even num
22nd Sep 2018, 1:39 PM
srinu rocky
srinu rocky - avatar