Preview:
#include<stdio.h>
int main()
{
    int m=0,l=100000;
    while (m<=100000){
        while(m%3==0 || m%5==0)
        printf("%d.\n",m++);
        m++;
    }
    m++;
}
downloadDownload PNG downloadDownload JPEG downloadDownload SVG

Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!

Click to optimize width for Twitter