I cannot think how to calculate the factors of the number.
No idea how it works
hi @Riya-Verma-1207263756078812,
refer here https://www.geeksforgeeks.org/prime-factor/#:~:text=Prime%20factor%20is%20the%20factor,to%20make%20the%20original%20number.
@Riya-Verma-1207263756078812,
check here for implementation ive commented the code : https://ide.codingblocks.com/s/656874
I am not familiar with the concept of vectors
@Riya-Verma-1207263756078812 its implementation is same as arrays just its dynamic and the code was just for reference try coding by yourself else you’ll not learn
Let me try this on my own
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.
Can You please check why it’s not printing the last factor of the base case.
hi @Riya-Verma-1207263756078812, missing last condition if(n>2) then one factor is still there, eg 13 or 19
Can you please look into it
still not getting the factor… can you please correct it…
I tried to put the condition in the loop of same code… but not able to figure out where to put that condition exactly, So can you update the previous code.
2 of my test-cases are failing… can you please tell me my mistake.
It’s no different when it comes to the world of work. If you’re someone who excels at selling and negotiating deals, the space bar clicker chances are your analytical skills … I have no idea how this camera works . I don’t know how this camera works . I can’t figure out how this camera works .