Compute divisors(n) to find all factors. Initialize an empty list prime-list. Iterate through each factor in divisors(n); if prime(d) returns true, add d into prime-list, then report prime-list.
Cbse Class 9 Maths Ganita Manjari Part 2 Solutions
class 9 maths ganita manjari part 2 chapter 11 question answer
Run prime(d) to check whether d is a prime number.
If prime(d) is true, add d to prime-list.
For more NCERT Solutions of Class 9 Maths Ganita Manjari Part 2 Chapter 11 The World of Algorithms Question Answer (2026-27)
https://www.tiwariacademy.com/ncert-solutions/class-9/maths/ganita-manjari-chapter-11/