Write a code to print multiples of 3 or 7 from 1 to 100 using while loops.
num = 1 while num < 100: if num % 3 == 0 or num % 7 == 0: print(num) num += 1