Write a c++ program that takes a number from the user and prints factors of the number.
Here is program:
int main() { int num; int factor; cout << "Enter number: " << endl; cin >> num; factor *= num; cout << "Factor = " << factor << endl; }
Need a fast expert's response?
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Comments
Leave a comment