#include <stdio.h>
int main()
{
int i, c;
int count=0;
int nt = 0;
for(i = 1;i <= 10; i++){
scanf("%d", &c);
if(c % 3 ==0)count++;
if (c % 5 == 0)nt++;
}
printf("3의 배수 %d ", count);
printf("5의배수 %d", nt);
}
To embed this project on your website, copy the following code and paste it into your website's HTML: