Search⌘ K
AI Features

Challenge: Recursive Prime Factors

Explore recursive programming by implementing a function to find and print the prime factors of a given number. This lesson helps you understand recursive problem-solving in C by breaking down a number using prime factors and printing the results with proper formatting.

Problem statement

In this challenge, you have to implement the factorize function.

void factorize(int n);
...
...