Write a while loop that outputs integers between 1 and 20 that are divisible by 3. Your program should consider all integers between 1 and 20, but only output the ones divisible by 3. Hint: use the modulus operator.
This material may consist of step-by-step explanations on how to solve a problem or examples of proper writing, including the use of citations, references, bibliographies, and formatting. This material is made available for the sole purpose of studying and learning - misuse is strictly forbidden.
int count = 1;
while(count <= 20)
if(count%3 == 0)...
This is only a preview of the solution. Please use the purchase button to see the entire solution