Answer to Question #311323 in C++ for Darara alex

Question #311323

Write a c++ program that takes a number from the user and prints factors of the number.

1
Expert's answer
2022-03-14T08:39:56-0400

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?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment