Computer Science, asked by sabzar9854, 1 year ago

Write a program to find all the multiples of 3 which are less then 100 considering numbers are not multiples of 4

Answers

Answered by Naresh5551
0
#include<stdio.h>
int main()
{
long unsigned int i,sum=0;
clrscr();
for(i=0;i<=1000;i++)
{
if((i%3==0)||(i%4==1)) { sum=sum+1; } }
printf("%d\n",sum);
getchar();
return 0;
}
Similar questions