Create factor.c

Implement a function that prints the prime factors of a given number (strictly greater than one) in ascending order using the format in the examples below.

void factor (int number);
A sample program testing the function, along with its output, is given below.

Your test program and your solution should be placed in separate files. Submit only the file factor.c containing your solution function.

Sample Test Program

#include <stdio.h>

void factor (int number);

int main (void)
{
  factor (100);
  factor (21);
  factor (123392);
  factor (2769);
  return 0;
}
Sample Output

100 = 2*2*5*5
21 = 3*7
123392 = 2*2*2*2*2*2*2*2*2*241
2769 = 3*13*71