Docstoc

12

Document Sample
12 Powered By Docstoc
					#include<iostream.h> #include<conio.h> void main() {clrscr(); int n,i=2,fm; cout<<"n="; cin>>n; do{ fm=0; while(n%i==0) {fm++; n=n/i; } if(fm) cout<<i<<"la puterea"<<fm<<endl; i++; }while(n!=1); getch();}


				
DOCUMENT INFO
Shared By:
Categories:
Tags:
Stats:
views:30
posted:10/30/2008
language:
pages:1