wap in c to find the factors of any numbers
Answers
Answered by
0
Answer:
#include <stdio.h>
#include <math.h>
int find_factors(int num)
{
for (int i=1; i<=sqrt(num); i++)
{
if (num % i == 0)
{
Similar questions