This repository has been archived on 2025-12-15. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
2024-09-20 14:17:13 +03:00

21 lines
344 B
C

#include <stdio.h>
int main(void)
{
int mul = 1;
int count = 0;
int n = 100;
int a = n / 2;
for (int i = 0; i < (a); i++)
{
for (int y = 0; y < i; y++)
{
if (y == i)
{
mul *= (i);
count++;
}
}
}
printf("%d\n", count);
}