write a program to enter and count it's factors(c++)
Answers
Answered by
1
Explanation:
The program output is also shown below.
* C++ program to display the factors of the entered number.
#include<iostream>
using namespace std;
int number, temp = 1;
cout << "Enter the number to determine its factors : " << endl;
cin >> number;
cout << "The factors of " << number << " are : " << endl;
while (temp <= number)
follow me and mark me as a brain list
Answered by
0
Answer:
C++ program to display the factors of the entered number.
#include<iostream>
using namespace std;
int number, temp = 1;
cout << "Enter the number to determine its factors : " << endl;
cin >> number;
cout << "The factors of " << number << " are : " << endl;
while (temp <= number)
Explanation:
hope this helps you
Similar questions