You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Write a code that prints the numbers between 2,000 and 3,000 i.e (2000<=number<3000), which are divisible by 8 but not by 6. (Hint: apply Boolean condition - number%8==0 && number%6!=0)
Note:
1) Please print all the even numbers on the same line, such as: