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
Projekt misker
multiply two numbers (previous)
GCC bug #79511
Tubee c++
scemo dd
List add
replace_if-30-Seconds-of-C++
inheritance test
k1
Assigment operator (easy)