| Current Path : /var/www/html/venkat/check3/file/rgiit/ |
| Current File : /var/www/html/venkat/check3/file/rgiit/rit2015065_2.c |
#include <stdio.h>
int main()
{
int i, n;
printf("enter the number upto which you wish to find multiples of three\n");
scanf("%d", &n);
for(i = 3;i <= n; i++)
{
if(i % 3 == 0)
{
printf("%d", i);
printf(" ");
}
}
printf("\n");
return 0;
}