Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
finding counting multiple no that became a no
#include <bits/stdc++.h> using namespace std; int main() { int l; cout<<"Enter the no:\n\n"; cin>>l; cout<<"Entered no: "<<l; int n=l; cout<<" is multiple of: "<<endl<<endl; if(n>1) { while(n>=1) { int j; for(j=2;j<=l;j++) { if(n%j==0){ cout<<j<<" "; break; }} n=n/j; } } else cout<<n; return 0; }
run
|
edit
|
history
|
help
1
c1
Conjuntos - analizar la lógica
ulib
Count of factors
sysFork3
at.cpp
aaa666
Przesylka
Web Browser History - LIST
remove_copy_if-30-Seconds-of-C++