Documents
Resources
Learning Center
Upload
Plans & pricing Sign in
Sign Out

09

VIEWS: 68 PAGES: 1

  • pg 1
									#include<iostream.h> #include<conio.h> int cmmdc(int a,int b) {if(a>b)return cmmdc(a-b,b); else if(a<b) return cmmdc(a,b-a); else return a;} void main(){clrscr(); int a,b; cout<<”a=”; cin>>a; cout<<”b=”; cin>>b; cout<<”functia inductibila echivalenta”<<a/cmmdc(a,b)<<” /”<<b/cmmdc(a,b); getch();}


								
To top