Question: This is what I have so far. I get I need to put num/=i into the loop but I just don't know how. help please


This is what I have so far.
I get I need to put num/=i into the loop but I just don't know how.
help please
C programming.
Problem 2: Write a program that will accept input of two positive decimal integer values and output the prime factorizations of the input values. A sample run is below. User input is in boldface. So you want two numbers factored. Give them to me one by one and I will do the factoring. Number? 12 The prime factorization of 12 is 2*2*3. Number? 1050 The prime factorization of 1050 is 2*3*5*5*7. int main() int num, rema; printf("Number? "); scanf("%d", &num); for(int i=2; i
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
