Hi, I am trying to find out how to create a program which will print the prime factors of a number inputed. my code isis it possible to make a code that would add all this factors??Code:#include <iostream> using namespace std; int main() { int x; cin>>x; int i=1; while(i<x) { if (x%i==0) { cout<<i<<"\n"; x=x/i; } else {i++; } cout<<x; } }