0
4.5kviews
Write a algorithm and program to generate a factor of given no.
1 Answer
0
189views
Outputs: A number n, which will be the largest number of the list.
Problem: Given a positive number, return its factors.
Inputs: A positive number. 
Algorithm:
 Accept a number num.Use a for loop from 1 to num. Find the MOD(%) of num with i within the for loop. If mod …

Create a free account to keep reading this post.

and 4 others joined a min ago.

Please log in to add an answer.