C Program to display all the multipliers of 3 between 1 and 100 - With Output

#include<stdio.h>
#include<conio.h>

void main()
{
int i;

for (i=0;i<100;++i)
{
     if(i%3==0)
printf(“%d\t”,i);
}

getch();

}

OUTPUT:
3 6 9 12 15 18 21 24 27 30 33
36 39 42 45 48 51 54 57 60 63
66 69 72 75 78 81 84 87 90 93

 96 99
Share on Google Plus

About Akash Manhas

This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.
    Blogger Comment
    Facebook Comment

0 comments:

Post a Comment